Commit 1354e8d4 authored by jim's avatar jim

Added missing sys.exit call


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@122990 62d5b8a3-27da-0310-9561-8e5933582275
parent e1fa4c0f
...@@ -91,7 +91,7 @@ And the generated scripts invoke Python 2.5: ...@@ -91,7 +91,7 @@ And the generated scripts invoke Python 2.5:
import eggrecipedemo import eggrecipedemo
<BLANKLINE> <BLANKLINE>
if __name__ == '__main__': if __name__ == '__main__':
eggrecipedemo.main() sys.exit(eggrecipedemo.main())
>>> if sys.platform == 'win32': >>> if sys.platform == 'win32':
... f = open(os.path.join(sample_buildout, 'bin', 'py-demo-script.py')) ... f = open(os.path.join(sample_buildout, 'bin', 'py-demo-script.py'))
......
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