Kaydet (Commit) 92dfa4ff authored tarafından Guido van Rossum's avatar Guido van Rossum

Use correct keyword parameter when calling copy with answer option!

üst a412220b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment