packages: duplicity/duplicity-backend-search.patch (NEW) - initial - search...

uzsolt uzsolt at pld-linux.org
Thu Mar 11 17:19:45 CET 2010


Author: uzsolt                       Date: Thu Mar 11 16:19:45 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial
- search *.pyc in backends directory instead of *.py

---- Files affected:
packages/duplicity:
   duplicity-backend-search.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/duplicity/duplicity-backend-search.patch
diff -u /dev/null packages/duplicity/duplicity-backend-search.patch:1.1
--- /dev/null	Thu Mar 11 17:19:45 2010
+++ packages/duplicity/duplicity-backend-search.patch	Thu Mar 11 17:19:40 2010
@@ -0,0 +1,13 @@
+--- duplicity-0.6.08a-orig/src/backend.py	2010-03-11 15:08:30.000000000 +0100
++++ duplicity-0.6.08a/src/backend.py	2010-03-11 17:13:41.195614937 +0100
+@@ -68,8 +68,8 @@
+ 
+     files = os.listdir(path)
+     for fn in files:
+-        if fn.endswith("backend.py"):
+-            fn = fn[:-3]
++        if fn.endswith("backend.pyc"):
++            fn = fn[:-4]
+             imp = "duplicity.backends.%s" % (fn,)
+             try:
+                 __import__(imp)
================================================================


More information about the pld-cvs-commit mailing list