]> granicus.if.org Git - python/commitdiff
Use correct keyword parameter when calling copy with answer option!
authorGuido van Rossum <guido@python.org>
Mon, 18 Aug 1997 20:56:10 +0000 (20:56 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 18 Aug 1997 20:56:10 +0000 (20:56 +0000)
Tools/scripts/treesync.py

index 1cad0e5b08c61ab373956f9e8a1b9d91718c79f0..f0393858df3f0599d78b0f8862603240fe823671 100755 (executable)
@@ -143,10 +143,10 @@ def compare(slave, master):
     sf.close()
     if fun:
        print "***UPDATING MASTER (BINARY COPY)***"
-       copy(slave, master, "rb", write_master)
+       copy(slave, master, "rb", answer=write_master)
     else:
        print "***UPDATING MASTER***"
-       copy(slave, master, "r", write_master)
+       copy(slave, master, "r", answer=write_master)
 
 BUFSIZE = 16*1024