summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanskritFritz <sanskritfritz@gmail.com>2017-01-30 11:25:48 +0100
committerLars Wirzenius <liw@liw.fi>2017-03-03 21:03:44 +0200
commitd84548f852dfb3f8a09b24a4ddc1fa411e2327dc (patch)
treeb0ed3cc3578aeb4dd4fa7a08da40947ffd08b42c
parentc396d26f79911cbee23069469f1609c1769af963 (diff)
downloadobnam-d84548f852dfb3f8a09b24a4ddc1fa411e2327dc.tar.gz
Include the root dir into kdirstat output
Root directory is now excluded from kdirstat output done by obnam. That solution was probably a workaround to a k4dirstat bug, however, this broke displaying any --root="/" backups and since we now have qdirstat (and k4dirstat became deprecated) which fixed the bug, it is time to reintroduce the root dir into the kdirstat output. Discussion with Ian about this can be read in the thread "Kdirstat merged to Qdirstat".
-rw-r--r--obnamlib/plugins/show_plugin.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/obnamlib/plugins/show_plugin.py b/obnamlib/plugins/show_plugin.py
index 995a958c..79ccde10 100644
--- a/obnamlib/plugins/show_plugin.py
+++ b/obnamlib/plugins/show_plugin.py
@@ -314,9 +314,6 @@ class ShowPlugin(obnamlib.ObnamPlugin):
enc_filename = enc_filename.replace(" ", "%20")
enc_filename = enc_filename.replace("\t", "%09")
- if filename == "/":
- return
-
self.app.output.write(
"%s%s\t%d\t%#x\n" %
(mode_str, enc_filename, size, mtime_sec))