pld-builder.new: PLD_Builder/chroot.py Properly find index of endi...

arekm arekm at pld-linux.org
Tue Feb 27 14:01:44 CET 2007


Author: arekm                        Date: Tue Feb 27 13:01:42 2007 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
Properly find index of ending marker.

---- Files affected:
pld-builder.new/PLD_Builder:
   chroot.py (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/chroot.py
diff -u pld-builder.new/PLD_Builder/chroot.py:1.29 pld-builder.new/PLD_Builder/chroot.py:1.30
--- pld-builder.new/PLD_Builder/chroot.py:1.29	Tue Feb 27 13:20:55 2007
+++ pld-builder.new/PLD_Builder/chroot.py	Tue Feb 27 14:01:37 2007
@@ -61,7 +61,7 @@
         if not marker and l.strip() == marker_start:
             marker = True
             continue
-        me = l.strip().find(marker_end)
+        me = l.find(marker_end)
         if me != -1:
             l = l[:me]
             f.write(l)
================================================================

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



More information about the pld-cvs-commit mailing list