ports/net-im/py-xmpppy/files/patch-xmpp-auth.py
Wen Heping e6dea1ca7a - Fix the run error with python-2.6 [1]
- Add the missing run dependence

PR:		ports/141338 [1]
Submitted by:	kevin <kevinxlinuz@163.com> [1]
2009-12-10 13:04:35 +00:00

14 lines
417 B
Python

--- xmpp/auth.py.orig 2009-12-10 20:43:19.000000000 +0800
+++ xmpp/auth.py 2009-12-10 20:44:17.000000000 +0800
@@ -21,9 +21,9 @@
from protocol import *
from client import PlugIn
-import sha,base64,random,dispatcher,re
+import base64,random,dispatcher,re
-import md5
+import hashlib
def HH(some): return md5.new(some).hexdigest()
def H(some): return md5.new(some).digest()
def C(some): return ':'.join(some)