[MERGE] Add exit() on progressbars from TestUIFactory
mbp at sourcefrog.net
Tue Mar 17 01:53:07 GMT 2009
2009/3/17 Robert Collins <robert.collins at canonical.com>:
> It has the disadvantage that it doesn't work :(.
> Python simply fails to tell you that it won't.
I was a bit worried by this because we already have some code that
does this and claims to do it because of python2.4. But it looks like
it does work:
mbp at grace% cat ~/tmp/generator.py
for i in range(5):
mbp at grace% python2.4 ~/tmp/generator.py
[0, 2, 4, 6, 8]
Traceback (most recent call last):
File "/home/mbp/tmp/generator.py", line 14, in ?
File "/home/mbp/tmp/generator.py", line 6, in a
More information about the bazaar