Commit 286608d1 authored by Daniel Stutzbach's avatar Daniel Stutzbach

Fixed bug in previous patch (oops)

--HG--
branch : distribute
extra : rebase_source : 0e0d70648070a33cbdb759de87415a90984da7cd
parent b1bd773f
......@@ -104,11 +104,12 @@ def _build_egg(egg, tarball, to_dir):
log.warn('Building a Distribute egg in %s', to_dir)
_python_cmd('setup.py', '-q', 'bdist_egg', '--dist-dir', to_dir)
# returning the result
if not os.path.exists(egg):
raise IOError('Could not build the egg.')
finally:
os.chdir(old_wd)
# returning the result
log.warn(egg)
if not os.path.exists(egg):
raise IOError('Could not build the egg.')
def _do_download(version, download_base, to_dir, download_delay):
......
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