From e3fda96a5848d697bbbaf5d01c24262d0194ca6c Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sun, 10 Feb 2019 21:05:28 +0100 Subject: [PATCH] fix bug --- dotdrop/options.py | 2 +- tests/test_compare.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/dotdrop/options.py b/dotdrop/options.py index 7f1d223..af1b6ff 100644 --- a/dotdrop/options.py +++ b/dotdrop/options.py @@ -92,7 +92,7 @@ class Options: if self.debug: self._print_attr() - def _header(): + def _header(self): """print the header""" self.log.log(BANNER) self.log.log('') diff --git a/tests/test_compare.py b/tests/test_compare.py index 554abc3..b86280d 100644 --- a/tests/test_compare.py +++ b/tests/test_compare.py @@ -42,9 +42,6 @@ class TestCompare(unittest.TestCase): continue diff = comp.compare(insttmp, dotfile.dst, ignore=['whatever', 'whatelse']) - print('XXXX diff for {} and {}:\n{}'.format(dotfile.src, - dotfile.dst, - diff)) path = os.path.expanduser(dotfile.dst) results[path] = diff == '' return results