]> code.delx.au - monosys/commitdiff
hack to make rdiff-backup shut up about .gvfs
authorJames Bunton <jamesbunton@delx.net.au>
Mon, 23 Jul 2012 13:03:20 +0000 (23:03 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Mon, 23 Jul 2012 13:03:20 +0000 (23:03 +1000)
patches/rdiff-shutup.patch [new file with mode: 0644]

diff --git a/patches/rdiff-shutup.patch b/patches/rdiff-shutup.patch
new file mode 100644 (file)
index 0000000..91a3fc8
--- /dev/null
@@ -0,0 +1,12 @@
+--- /usr/share/pyshared/rdiff_backup/selection.py.bak  2012-07-23 22:58:47.588142001 +1000
++++ /usr/share/pyshared/rdiff_backup/selection.py      2012-07-23 23:00:10.556142002 +1000
+@@ -116,6 +116,9 @@
+                       """
+                       for filename in self.listdir(rpath):
++                              if filename == ".gvfs":
++                                      # stop sending me emails!
++                                      continue
+                               new_rpath = robust.check_common_error(error_handler,
+                                                                               rpath.append, (filename,))
+                               if new_rpath and new_rpath.lstat():