summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-18 20:56:10 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-18 20:56:10 (GMT)
commit92dfa4ffe1474083d2194a25aeab23d96048f127 (patch)
tree85b6622bf13d159da9fb590bfed063d3af40eba9 /Tools/scripts
parenta412220bbf8ef8391eb38b35d62520cfbc2fc039 (diff)
downloadcpython-92dfa4ffe1474083d2194a25aeab23d96048f127.zip
cpython-92dfa4ffe1474083d2194a25aeab23d96048f127.tar.gz
cpython-92dfa4ffe1474083d2194a25aeab23d96048f127.tar.bz2
Use correct keyword parameter when calling copy with answer option!
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/treesync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/scripts/treesync.py b/Tools/scripts/treesync.py
index 1cad0e5..f039385 100755
--- a/Tools/scripts/treesync.py
+++ b/Tools/scripts/treesync.py
@@ -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