[Python-checkins] distutils2: Fix bug that caused test test_sub_commands to fail.

tarek.ziade python-checkins at python.org
Sun Jan 23 15:48:23 CET 2011


tarek.ziade pushed 1e1dd6fa92bd to distutils2:

http://hg.python.org/distutils2/rev/1e1dd6fa92bd
changeset:   858:1e1dd6fa92bd
user:        smathieu <simon.math at gmail.com>
date:        Wed Dec 08 19:32:40 2010 -0500
summary:
  Fix bug that caused test test_sub_commands to fail.

files:
  distutils2/run.py

diff --git a/distutils2/run.py b/distutils2/run.py
--- a/distutils2/run.py
+++ b/distutils2/run.py
@@ -128,7 +128,7 @@
     if len(args) == 0:
         parser.print_help()
 
-    commands_main()
+    return commands_main()
 #    sys.exit(0)
 
 if __name__ == '__main__':

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list