aboutsummaryrefslogtreecommitdiffstats
path: root/distribute_setup.py
diff options
context:
space:
mode:
authortarek <none@none>2009-12-11 00:32:55 +0100
committertarek <none@none>2009-12-11 00:32:55 +0100
commitce6ac29bfa586e8646853b3f58e0c8c8e6891629 (patch)
tree2751203d193a694fe3a870cbabbdb812d7fe3dd6 /distribute_setup.py
parent7177009424e0afa0dffb1d6de5dc46dab24165c6 (diff)
downloadexternal_python_setuptools-ce6ac29bfa586e8646853b3f58e0c8c8e6891629.tar.gz
external_python_setuptools-ce6ac29bfa586e8646853b3f58e0c8c8e6891629.tar.bz2
external_python_setuptools-ce6ac29bfa586e8646853b3f58e0c8c8e6891629.zip
Remove an unecessary assertion fixes #104
--HG-- branch : distribute extra : rebase_source : e0a1a2a18085d418b039852b57b5adf6cc19017f
Diffstat (limited to 'distribute_setup.py')
-rw-r--r--distribute_setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/distribute_setup.py b/distribute_setup.py
index 94789e7e..7fd3b4d8 100644
--- a/distribute_setup.py
+++ b/distribute_setup.py
@@ -81,7 +81,9 @@ def _install(tarball):
# installing
log.warn('Installing Distribute')
- assert _python_cmd('setup.py', 'install')
+ if not _python_cmd('setup.py', 'install'):
+ log.warn('Something went wrong during the installation.')
+ log.warn('See the error message above.')
finally:
os.chdir(old_wd)