mirror of https://github.com/python/cpython
Use correct keyword parameter when calling copy with answer option!
This commit is contained in:
parent
a412220bbf
commit
92dfa4ffe1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue