git://git.onelab.eu
/
pcucontrol.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unnecessary 'print's
[pcucontrol.git]
/
pcucontrol
/
transports
/
pyssh
/
nbpipe.py
diff --git
a/pcucontrol/transports/pyssh/nbpipe.py
b/pcucontrol/transports/pyssh/nbpipe.py
index
08b4f97
..
8683779
100644
(file)
--- a/
pcucontrol/transports/pyssh/nbpipe.py
+++ b/
pcucontrol/transports/pyssh/nbpipe.py
@@
-46,7
+46,7
@@
class nbpipe:
item = os.read(self.fd, self.blocksize)
\r
except (IOError, OSError):
\r
finish = 1
\r
item = os.read(self.fd, self.blocksize)
\r
except (IOError, OSError):
\r
finish = 1
\r
- if
(item == '') or finish
:
\r
+ if
finish or (item == '')
:
\r
# Wait until everything has been read from the queue before
\r
# setting eof = 1 and exiting.
\r
while not self._q.empty():
\r
# Wait until everything has been read from the queue before
\r
# setting eof = 1 and exiting.
\r
while not self._q.empty():
\r