Use correct keyword parameter when calling copy with answer option!

This commit is contained in:
Guido van Rossum 1997-08-18 20:56:10 +00:00
parent a412220bbf
commit 92dfa4ffe1
1 changed files with 2 additions and 2 deletions

View File

@ -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