Clarify a bit of and/or logic in _parsers._check_options().

fix/30-hidden-recipient
Isis Lovecruft 2013-12-04 10:01:05 +00:00
parent af93c4caaf
commit b90d3b6414
No known key found for this signature in database
GPG Key ID: 5C17776E27F7E84D
1 changed files with 3 additions and 2 deletions

View File

@ -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))