Fix a bug in the options checker which tried to call util._is_file().

testing/mmn/mktime_takes_localtime_not_gmtime
Isis Lovecruft 2013-04-16 23:10:59 +00:00
parent b23812d14c
commit 6b6ea0e9d1
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ def _sanitise(*args):
if flag in ['--encrypt', '--encrypt-files', '--decrypt',
'--decrypt-file', '--import', '--verify']:
## Place checks here:
if _is_file(val):
if util._is_file(val):
safe_option += (val + " ")
else:
logger.debug("_check_option(): %s not file: %s"