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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to