Skip to content

Commit

Permalink
Log abort message as error instead of info.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastian Kleineidam committed May 11, 2012
1 parent b51aff6 commit e28f3ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patoolib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@ def handle_archive (archive, command, *args, **kwargs):
else:
_handle_archive(archive, command, *args, **kwargs)
res = 0
except KeyboardInterrupt, msg:
util.log_info("aborted")
except KeyboardInterrupt:
util.log_error("aborted")
res = 1
except util.PatoolError, msg:
util.log_error(msg)
Expand Down

0 comments on commit e28f3ab

Please sign in to comment.