Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/sshserver.py @ 9198:061eeb602354
coding style: use a space after comma
I left a cases like 'lambda x,y:' alone -- the lack of a space does
not bother me as much when the variables are single letters.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 22 Jul 2009 23:12:54 +0200 |
parents | e3495c399006 |
children | d193cc97c4e8 |
comparison
equal
deleted
inserted
replaced
9197:a05aa192a00a | 9198:061eeb602354 |
---|---|
57 arg, key = self.getarg() | 57 arg, key = self.getarg() |
58 assert arg == 'key' | 58 assert arg == 'key' |
59 try: | 59 try: |
60 r = hex(self.repo.lookup(key)) | 60 r = hex(self.repo.lookup(key)) |
61 success = 1 | 61 success = 1 |
62 except Exception,inst: | 62 except Exception, inst: |
63 r = str(inst) | 63 r = str(inst) |
64 success = 0 | 64 success = 0 |
65 self.respond("%s %s\n" % (success, r)) | 65 self.respond("%s %s\n" % (success, r)) |
66 | 66 |
67 def do_branchmap(self): | 67 def do_branchmap(self): |