pld-builder.new: PLD_Builder/file_sender.py One more bug.

arekm arekm at pld-linux.org
Fri Mar 20 12:39:26 CET 2009


Author: arekm                        Date: Fri Mar 20 11:39:26 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
One more bug.

---- Files affected:
pld-builder.new/PLD_Builder:
   file_sender.py (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/file_sender.py
diff -u pld-builder.new/PLD_Builder/file_sender.py:1.26 pld-builder.new/PLD_Builder/file_sender.py:1.27
--- pld-builder.new/PLD_Builder/file_sender.py:1.26	Fri Mar 20 12:35:48 2009
+++ pld-builder.new/PLD_Builder/file_sender.py	Fri Mar 20 12:39:21 2009
@@ -70,8 +70,8 @@
         rsync += " --password-file .rsync.pass"
     f = os.popen("%s %s %s 2>&1 < /dev/null" % (rsync, src, target))
     problem = f.read()
-    res = f.close()
-    if password != None: os.unlink(".rsync.pass")
+    if password != None:
+        os.unlink(".rsync.pass")
     return f.close()
 
 def rsync_ssh_file(src, target):
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/file_sender.py?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list