diff options
-rw-r--r-- | src/lib/Bcfg2/Client/Tools/POSIX/File.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/POSIX/File.py b/src/lib/Bcfg2/Client/Tools/POSIX/File.py index baa1e0a90..15fdfbc7a 100644 --- a/src/lib/Bcfg2/Client/Tools/POSIX/File.py +++ b/src/lib/Bcfg2/Client/Tools/POSIX/File.py @@ -220,7 +220,7 @@ class POSIXFile(POSIXTool): def _diff(self, content1, content2, filename=None): """ Return a unified diff of the two strings """ - fromfile = "%s (on disk)" % filename if filename else "" + fromfile = "%s (on disk)" % filename if filename else "" tofile = "%s (from bcfg2)" % filename if filename else "" return difflib.unified_diff(content1.split('\n'), content2.split('\n'), |