[Checkins] SVN: zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt Added missing sys.exit call

Jim Fulton jim at zope.com
Wed Sep 28 15:13:55 EST 2011


Log message for revision 122990:
  Added missing sys.exit call
  

Changed:
  U   zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt

-=-
Modified: zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt
===================================================================
--- zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt	2011-09-28 19:34:20 UTC (rev 122989)
+++ zc.buildout/trunk/zc.recipe.egg_/src/zc/recipe/egg/selecting-python.txt	2011-09-28 20:13:55 UTC (rev 122990)
@@ -91,7 +91,7 @@
     import eggrecipedemo
     <BLANKLINE>
     if __name__ == '__main__':
-        eggrecipedemo.main()
+        sys.exit(eggrecipedemo.main())
 
     >>> if sys.platform == 'win32':
     ...     f = open(os.path.join(sample_buildout, 'bin', 'py-demo-script.py'))



More information about the checkins mailing list