summaryrefslogtreecommitdiff
path: root/brain/py2stdlib.py
diff options
context:
space:
mode:
authorTorsten Marek <tmarek@google.com>2013-03-27 12:26:17 +0100
committerTorsten Marek <tmarek@google.com>2013-03-27 12:26:17 +0100
commit43a095f3d82f6ded5b79786fce06d25c4cf25457 (patch)
tree7d9b55dd78821580ccaee21da3ad5ad0c92cab16 /brain/py2stdlib.py
parent4d20cfd473704c77f25b5c3be130900faf391e65 (diff)
downloadastroid-git-43a095f3d82f6ded5b79786fce06d25c4cf25457.tar.gz
Add missing modules in py2stdlib brain hashlib. Closes #123056
--HG-- branch : stable
Diffstat (limited to 'brain/py2stdlib.py')
-rw-r--r--brain/py2stdlib.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/brain/py2stdlib.py b/brain/py2stdlib.py
index 976cef46..50ba5576 100644
--- a/brain/py2stdlib.py
+++ b/brain/py2stdlib.py
@@ -15,11 +15,17 @@ def hashlib_transform(module):
class md5(object):
def __init__(self, value): pass
+ def digest():
+ return u''
+ def update(self, value): pass
def hexdigest(self):
return u''
class sha1(object):
def __init__(self, value): pass
+ def digest():
+ return u''
+ def update(self, value): pass
def hexdigest(self):
return u''