From e28f3ab1156bc783d715f53113cf6ce95e40b362 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Fri, 11 May 2012 19:32:16 +0200 Subject: [PATCH] Log abort message as error instead of info. --- patoolib/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patoolib/__init__.py b/patoolib/__init__.py index 3c978b8..3d721f8 100644 --- a/patoolib/__init__.py +++ b/patoolib/__init__.py @@ -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)