vim: Update to latest patch level
[termux-packages] / packages / getmail / utilities.py.patch
CommitLineData
bc094198 1--- ../getmail/src/getmailcore/utilities.py 2013-09-01 04:11:31.000000000 +1000
2+++ ./getmailcore/utilities.py 2016-03-26 17:22:08.173621990 +1100
3@@ -44,6 +44,7 @@
4 import getpass
5 import commands
6 import sys
7+import shutil
8
9 # hashlib only present in python2.5, ssl in python2.6; used together
10 # in SSL functionality below
11@@ -333,7 +334,7 @@
12
13 # Move message file from Maildir/tmp to Maildir/new
14 try:
15- os.link(fname_tmp, fname_new)
16+ shutil.copy2(fname_tmp, fname_new)
17 os.unlink(fname_tmp)
18
19 except OSError: