From a244617c566080cfcf0fc754e8a105d2dc46ded0 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Sun, 7 Jul 2019 14:37:44 +1000 Subject: [PATCH] doku2git: Remove redundant parenthesis in operation test --- doku2git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doku2git.py b/doku2git.py index 67224d3..936bec0 100755 --- a/doku2git.py +++ b/doku2git.py @@ -115,7 +115,7 @@ class Change(object): # If we're not trying to delete a page then ensure we can see the # source material in the Dokuwiki attic - if self.operation not in ('D'): + if self.operation not in 'D': attic = os.path.join(src.root, self._attic(src)) if not os.path.isfile(attic): log.error(f'Source file {attic} not present for {self}; ignoring')