From d84548f852dfb3f8a09b24a4ddc1fa411e2327dc Mon Sep 17 00:00:00 2001 From: SanskritFritz Date: Mon, 30 Jan 2017 11:25:48 +0100 Subject: 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". --- obnamlib/plugins/show_plugin.py | 3 --- 1 file changed, 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)) -- cgit v1.2.1