summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subcmds/sync.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py
index dc6604cc..2a77065c 100644
--- a/subcmds/sync.py
+++ b/subcmds/sync.py
@@ -916,6 +916,7 @@ class PersistentTransport(xmlrpc.client.Transport):
916 # stripping those prefixes away. 916 # stripping those prefixes away.
917 if cookiefile: 917 if cookiefile:
918 tmpcookiefile = tempfile.NamedTemporaryFile() 918 tmpcookiefile = tempfile.NamedTemporaryFile()
919 tmpcookiefile.write("# HTTP Cookie File")
919 try: 920 try:
920 with open(cookiefile) as f: 921 with open(cookiefile) as f:
921 for line in f: 922 for line in f: