pld-builder.new: PLD_Builder/pipeutil.py Reindent.
arekm
arekm at pld-linux.org
Tue Nov 20 21:56:56 CET 2007
Author: arekm Date: Tue Nov 20 20:56:56 2007 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
Reindent.
---- Files affected:
pld-builder.new/PLD_Builder:
pipeutil.py (1.2 -> 1.3)
---- Diffs:
================================================================
Index: pld-builder.new/PLD_Builder/pipeutil.py
diff -u pld-builder.new/PLD_Builder/pipeutil.py:1.2 pld-builder.new/PLD_Builder/pipeutil.py:1.3
--- pld-builder.new/PLD_Builder/pipeutil.py:1.2 Thu Dec 9 19:09:05 2004
+++ pld-builder.new/PLD_Builder/pipeutil.py Tue Nov 20 21:56:50 2007
@@ -13,14 +13,19 @@
wr_fin = 0
buf.seek(pos)
while not (rd_fin and wr_fin):
- if wr_fin: o = []
- else: o = [infd]
- if rd_fin: i = []
- else: i = [outfd]
+ if wr_fin:
+ o = []
+ else:
+ o = [infd]
+ if rd_fin:
+ i = []
+ else:
+ i = [outfd]
i, o, e = select.select(i, o, [])
if i != []:
s = os.read(outfd.fileno(), 1000)
- if s == "": rd_fin = 1
+ if s == "":
+ rd_fin = 1
ret.write(s)
if o != []:
buf.seek(pos)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/pipeutil.py?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list