doku2git: Remove redundant parenthesis in operation test
This commit is contained in:
parent
6d0b2aebe0
commit
a244617c56
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user