chiark / gitweb /
Added files via upload
authorits-pointless <its-pointless@users.noreply.github.com>
Sat, 26 Mar 2016 06:41:26 +0000 (17:41 +1100)
committerits-pointless <its-pointless@users.noreply.github.com>
Sat, 26 Mar 2016 06:41:26 +0000 (17:41 +1100)
packages/getmail/utilities.py.patch

index 8b137891791fe96927ad78e64b0aad7bded08bdc..f85c77a6730b4b61c21d6d1041989d5aca1e4c65 100644 (file)
@@ -1 +1,19 @@
-
+--- ../getmail/src/getmailcore/utilities.py    2013-09-01 04:11:31.000000000 +1000
++++ ./getmailcore/utilities.py 2016-03-26 17:22:08.173621990 +1100
+@@ -44,6 +44,7 @@
+ import getpass
+ import commands
+ import sys
++import shutil
+ # hashlib only present in python2.5, ssl in python2.6; used together
+ # in SSL functionality below
+@@ -333,7 +334,7 @@
+     # Move message file from Maildir/tmp to Maildir/new
+     try:
+-        os.link(fname_tmp, fname_new)
++        shutil.copy2(fname_tmp, fname_new)
+         os.unlink(fname_tmp)
+     except OSError: