Commit 60f1dd07 authored by tarek's avatar tarek

fixed to_reload initialiazion

--HG--
branch : distribute
extra : rebase_source : b5184539d744b9d6e1b884f9677bfb7f63f0873d
parent 2c1f443c
...@@ -26,13 +26,12 @@ tmpeggs = tempfile.mkdtemp() ...@@ -26,13 +26,12 @@ tmpeggs = tempfile.mkdtemp()
is_jython = sys.platform.startswith('java') is_jython = sys.platform.startswith('java')
to_reload = False
try: try:
import pkg_resources import pkg_resources
if not hasattr(pkg_resources, '_distribute'): if not hasattr(pkg_resources, '_distribute'):
to_reload = True to_reload = True
raise ImportError raise ImportError
else:
to_reload = False
except ImportError: except ImportError:
ez = {} ez = {}
exec urllib2.urlopen('http://nightly.ziade.org/bootstraping.py' exec urllib2.urlopen('http://nightly.ziade.org/bootstraping.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