Mercurial > public > mercurial-scm > hg
comparison mercurial/dispatch.py @ 11305:d4cafcb63f77
cleanups: undefined variables
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Tue, 08 Jun 2010 09:30:45 +0200 |
parents | 2123aad24d56 |
children | 713ae78bb583 |
comparison
equal
deleted
inserted
replaced
11304:8c377f2feee1 | 11305:d4cafcb63f77 |
---|---|
27 except error.ParseError, inst: | 27 except error.ParseError, inst: |
28 if len(inst.args) > 1: | 28 if len(inst.args) > 1: |
29 sys.stderr.write(_("hg: parse error at %s: %s\n") % | 29 sys.stderr.write(_("hg: parse error at %s: %s\n") % |
30 (inst.args[1], inst.args[0])) | 30 (inst.args[1], inst.args[0])) |
31 else: | 31 else: |
32 sys.stderr.write(_("hg: parse error: %s\n") % ints.args[0]) | 32 sys.stderr.write(_("hg: parse error: %s\n") % inst.args[0]) |
33 return -1 | 33 return -1 |
34 return _runcatch(u, args) | 34 return _runcatch(u, args) |
35 | 35 |
36 def _runcatch(ui, args): | 36 def _runcatch(ui, args): |
37 def catchterm(*args): | 37 def catchterm(*args): |