Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commandserver.py @ 16687:e34106fa0dc3
cleanup: "raise SomeException()" -> "raise SomeException"
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:00:58 +0200 |
parents | 525fdb738975 |
children | e95ec38f86b0 |
comparison
equal
deleted
inserted
replaced
16686:67964cda8701 | 16687:e34106fa0dc3 |
---|---|
164 | 164 |
165 data = self.client.read(size) | 165 data = self.client.read(size) |
166 | 166 |
167 # is the other end closed? | 167 # is the other end closed? |
168 if not data: | 168 if not data: |
169 raise EOFError() | 169 raise EOFError |
170 | 170 |
171 return data | 171 return data |
172 | 172 |
173 def runcommand(self): | 173 def runcommand(self): |
174 """ reads a list of \0 terminated arguments, executes | 174 """ reads a list of \0 terminated arguments, executes |