[arch-commits] Commit in duplicity/trunk (2 files)
Lukas Fleischer
lfleischer at nymeria.archlinux.org
Tue Jun 18 09:02:24 UTC 2013
Date: Tuesday, June 18, 2013 @ 11:02:24
Author: lfleischer
Revision: 92895
Remove legacy patches
Deleted:
duplicity/trunk/botobackend.patch
duplicity/trunk/duplicity-0.6.17-fix-memleak.patch
------------------------------------+
botobackend.patch | 13 -------------
duplicity-0.6.17-fix-memleak.patch | 29 -----------------------------
2 files changed, 42 deletions(-)
Deleted: botobackend.patch
===================================================================
--- botobackend.patch 2013-06-18 09:01:17 UTC (rev 92894)
+++ botobackend.patch 2013-06-18 09:02:24 UTC (rev 92895)
@@ -1,13 +0,0 @@
-=== modified file duplicity/backends/botobackend.py
---- duplicity/backends/botobackend.py 2011-11-25 17:47:57 +0000
-+++ duplicity/backends/botobackend.py 2011-12-01 16:15:25 +0000
-@@ -26,6 +26,6 @@
- if sys.version_info[:2] < (2,6):
- print "Sorry, S3 multiprocessing requires version 2.6 or later of python"
- sys.exit(1)
-- import _boto_multi.py
-+ import _boto_multi
- else:
-- import _boto_single.py
-+ import _boto_single
-
Deleted: duplicity-0.6.17-fix-memleak.patch
===================================================================
--- duplicity-0.6.17-fix-memleak.patch 2013-06-18 09:01:17 UTC (rev 92894)
+++ duplicity-0.6.17-fix-memleak.patch 2013-06-18 09:02:24 UTC (rev 92895)
@@ -1,29 +0,0 @@
-=== modified file 'duplicity/util.py'
---- duplicity/util.py 2011-08-23 18:14:17 +0000
-+++ duplicity/util.py 2012-01-20 21:50:01 +0000
-@@ -71,6 +71,10 @@
- else:
- raise
-
-+class BlackHoleList(list):
-+ def append(self, x):
-+ pass
-+
- class FakeTarFile:
- debug = 0
- def __iter__(self):
-@@ -83,7 +87,12 @@
- # yet. So we want to ignore ReadError exceptions, which are used to signal
- # this.
- try:
-- return tarfile.TarFile("arbitrary", mode, fp)
-+ tf = tarfile.TarFile("arbitrary", mode, fp)
-+ # Now we cause TarFile to not cache TarInfo objects. It would end up
-+ # consuming a lot of memory over the lifetime of our long-lasting
-+ # signature files otherwise.
-+ tf.members = BlackHoleList()
-+ return tf
- except tarfile.ReadError:
- return FakeTarFile()
-
-
More information about the arch-commits
mailing list