Dolda2000 GitWeb
/
pdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc372b
)
Return fileno from clients, for use in select.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 22 Dec 2011 05:11:31 +0000
(06:11 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 22 Dec 2011 05:11:31 +0000
(06:11 +0100)
pdm/cli.py
patch
|
blob
|
blame
|
history
diff --git
a/pdm/cli.py
b/pdm/cli.py
index
d88ebbd
..
bb2bbf5
100644
(file)
--- a/
pdm/cli.py
+++ b/
pdm/cli.py
@@
-47,6
+47,9
@@
class client(object):
def close(self):
self.sk.close()
+ def fileno(self):
+ return self.sk.fileno()
+
def readline(self):
while True:
p = self.buf.find("\n")