projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb57188
)
Fix patch by nenolod.
author
Eric S. Raymond
<esr@thyrsus.com>
Thu, 27 Sep 2012 09:21:26 +0000
(
05:21
-0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 27 Sep 2012 09:21:26 +0000
(
05:21
-0400)
irker
patch
|
blob
|
history
diff --git
a/irker
b/irker
index efd7dab93e45e5fab143f246bd40775a90367ba1..04bac579216c367d6bfe9a6130fca7ae0dc40c87 100755
(executable)
--- a/
irker
+++ b/
irker
@@
-333,7
+333,10
@@
class Irker:
class IrkerTCPHandler(SocketServer.StreamRequestHandler):
def handle(self):
while True:
- irker.handle(self.rfile.readline().strip())
+ line = self.rfile.readline()
+ if not line:
+ break
+ irker.handle(line.strip())
class IrkerUDPHandler(SocketServer.BaseRequestHandler):
def handle(self):