main: Remove "None" from error message about importing stdin.
This commit is contained in:
parent
cc8da9392e
commit
6295952a08
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ def main(arglist=None, stdout=sys.stdout, stderr=sys.stderr):
|
|||
if error is None:
|
||||
logger.info("%s: imported", input_path)
|
||||
else:
|
||||
logger.warning("%s: failed to import: %s", input_path, error)
|
||||
logger.warning("%s: failed to import: %s", input_path or error.path, error)
|
||||
failures += 1
|
||||
if failures == 0:
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue