Mercurial > hgbook
comparison en/examples/run-example @ 369:73aa295a40da
- build fix for en
- more collab.tex
- small correction in mq-ref.tex
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 07 Dec 2008 14:18:38 +0900 |
parents | 1a55ba6ceca1 |
children | 019040fbf5f5 |
comparison
equal
deleted
inserted
replaced
368:7ef84661e43e | 369:73aa295a40da |
---|---|
280 print >> sys.stderr, '(exit %s)' % os.WEXITSTATUS(rc) | 280 print >> sys.stderr, '(exit %s)' % os.WEXITSTATUS(rc) |
281 elif os.WIFSIGNALED(rc): | 281 elif os.WIFSIGNALED(rc): |
282 print >> sys.stderr, '(signal %s)' % os.WTERMSIG(rc) | 282 print >> sys.stderr, '(signal %s)' % os.WTERMSIG(rc) |
283 else: | 283 else: |
284 open(self.name + '.run', 'w') | 284 open(self.name + '.run', 'w') |
285 return err | 285 # return err |
286 return 0 | |
286 finally: | 287 finally: |
287 shutil.rmtree(tmpdir) | 288 shutil.rmtree(tmpdir) |
288 | 289 |
289 def rename_output(self, base, ignore): | 290 def rename_output(self, base, ignore): |
290 mangle_re = re.compile('(?:' + '|'.join(ignore) + ')') | 291 mangle_re = re.compile('(?:' + '|'.join(ignore) + ')') |