Commit 3b10ae55 authored by Ivan Tyagov's avatar Ivan Tyagov

Revert "Use working link, still file content updated thus md5sum needs correction too."

This reverts commit 8f10fa61.
parent 0bb54452
...@@ -17,7 +17,7 @@ Topic :: Software Development :: Libraries :: Python Modules ...@@ -17,7 +17,7 @@ Topic :: Software Development :: Libraries :: Python Modules
if not os.path.exists('mock.py'): if not os.path.exists('mock.py'):
import cStringIO, hashlib, urllib, zipfile import cStringIO, hashlib, urllib, zipfile
mock_py = zipfile.ZipFile(cStringIO.StringIO(urllib.urlopen( mock_py = zipfile.ZipFile(cStringIO.StringIO(urllib.urlopen(
'http://ufpr.dl.sourceforge.net/project/python-mock/python-mock/version%200.1.0/pythonmock-0.1.0.zip' 'http://downloads.sf.net/sourceforge/python-mock/pythonmock-0.1.0.zip'
).read())).read('mock.py') ).read())).read('mock.py')
if hashlib.md5(mock_py).hexdigest() != '79f42f390678e5195d9ce4ae43bd18ec': if hashlib.md5(mock_py).hexdigest() != '79f42f390678e5195d9ce4ae43bd18ec':
raise EnvironmentError("MD5 checksum mismatch downloading 'mock.py'") raise EnvironmentError("MD5 checksum mismatch downloading 'mock.py'")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment