Clarify a bit of and/or logic in _parsers._check_options().
parent
af93c4caaf
commit
b90d3b6414
|
@ -343,8 +343,9 @@ def _sanitise(*args):
|
|||
|
||||
if flag in ['--encrypt', '--encrypt-files', '--decrypt',
|
||||
'--decrypt-files', '--import', '--verify']:
|
||||
if _util._is_file(val) or \
|
||||
(flag == '--verify' and val == '-'):
|
||||
if ( (_util._is_file(val))
|
||||
or
|
||||
((flag == '--verify') and (val == '-')) ):
|
||||
checked += (val + " ")
|
||||
else:
|
||||
log.debug("%s not file: %s" % (flag, val))
|
||||
|
|
Loading…
Reference in New Issue