pld-builder.new: PLD_Builder/file_sender.py - fix return code for rsync

arekm arekm at pld-linux.org
Fri Mar 20 12:35:53 CET 2009


Author: arekm                        Date: Fri Mar 20 11:35:53 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- fix return code for rsync

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

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/file_sender.py
diff -u pld-builder.new/PLD_Builder/file_sender.py:1.25 pld-builder.new/PLD_Builder/file_sender.py:1.26
--- pld-builder.new/PLD_Builder/file_sender.py:1.25	Wed Feb 11 21:02:37 2009
+++ pld-builder.new/PLD_Builder/file_sender.py	Fri Mar 20 12:35:48 2009
@@ -79,7 +79,6 @@
     rsync = "rsync --verbose --archive -e ssh"
     f = os.popen("%s %s %s 2>&1 < /dev/null" % (rsync, src, target))
     problem = f.read()
-    res = f.close()
     return f.close()
 
 def post_file(src, url):
================================================================

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



More information about the pld-cvs-commit mailing list