changeset 10282 | 08a0f04b56bd |
parent 10263 | 25e572394f5c |
child 10377 | 04e1e6743809 |
--- a/mercurial/sshserver.py Mon Jan 25 00:05:22 2010 -0600 +++ b/mercurial/sshserver.py Mon Jan 25 00:05:27 2010 -0600 @@ -42,7 +42,8 @@ def serve_forever(self): try: - while self.serve_one(): pass + while self.serve_one(): + pass finally: if self.lock is not None: self.lock.release() @@ -52,7 +53,8 @@ cmd = self.fin.readline()[:-1] if cmd: impl = getattr(self, 'do_' + cmd, None) - if impl: impl() + if impl: + impl() else: self.respond("") return cmd != ''