[Python-checkins] devinabox: Fix code from the shifting of executable().

brett.cannon python-checkins at python.org
Mon Feb 28 23:03:51 CET 2011


brett.cannon pushed cf80aee7de97 to devinabox:

http://hg.python.org/devinabox/rev/cf80aee7de97
changeset:   29:cf80aee7de97
user:        Brett Cannon <brett at python.org>
date:        Sat Feb 26 21:16:31 2011 -0800
summary:
  Fix code from the shifting of executable().

files:
  build_cpython.py
  run_all_tests.py

diff --git a/build_cpython.py b/build_cpython.py
--- a/build_cpython.py
+++ b/build_cpython.py
@@ -42,7 +42,7 @@
         subprocess.call(make_cmd)
     finally:
         os.chdir(cwd)
-    return executable
+    return executable()
 
 if __name__ == '__main__':
     if not main():
diff --git a/run_all_tests.py b/run_all_tests.py
--- a/run_all_tests.py
+++ b/run_all_tests.py
@@ -7,7 +7,7 @@
 
 
 def main():
-    cmd = executable()
+    cmd = build_cpython.main()
     if cmd is None:
         print('CPython is not built')
         sys.exit(1)

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


More information about the Python-checkins mailing list