Dolda2000 GitWeb
/
pdm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
ed115f4
9928d24
)
Merge branch 'master' into python3
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 22 Dec 2011 05:12:45 +0000
(06:12 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 22 Dec 2011 05:12:45 +0000
(06:12 +0100)
1
2
pdm/cli.py
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
pdm/cli.py
index
878a670
,
bb2bbf5
..
6af06f1
---
1
/
pdm/cli.py
---
2
/
pdm/cli.py
+++ b/
pdm/cli.py
@@@
-47,9
-47,12
+47,12
@@@
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")
+ p = self.buf.find(
b
"\n")
if p >= 0:
ret = self.buf[:p]
self.buf = self.buf[p + 1:]