mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Use correct keyword parameter when calling copy with answer option!
This commit is contained in:
parent
a412220bbf
commit
92dfa4ffe1
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue