pld-builder.new: PLD_Builder/chroot.py Rework again.

arekm arekm at pld-linux.org
Thu Sep 15 20:05:42 CEST 2005


Author: arekm                        Date: Thu Sep 15 18:05:42 2005 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
Rework again.

---- Files affected:
pld-builder.new/PLD_Builder:
   chroot.py (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/chroot.py
diff -u pld-builder.new/PLD_Builder/chroot.py:1.15 pld-builder.new/PLD_Builder/chroot.py:1.16
--- pld-builder.new/PLD_Builder/chroot.py:1.15	Thu Sep 15 19:28:19 2005
+++ pld-builder.new/PLD_Builder/chroot.py	Thu Sep 15 20:05:37 2005
@@ -33,10 +33,10 @@
     for l in f:
         lines += l
     r = f.close()
-    if r:
+    if r == None:
         if logstdout:
             return lines
         else:
-            return r
+            return True
     else:
-        return 0
+        return False
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pld-builder.new/PLD_Builder/chroot.py?r1=1.15&r2=1.16&f=u




More information about the pld-cvs-commit mailing list