From f67bd91aca496e093b4f23ae5be214646d7f5437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Sat, 22 Oct 2005 20:26:31 +0000 Subject: [PATCH] * looks special handling for XmlError is redundant. Any reason why that is here? Probably because the old handling was broken... --- pisi-cli | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pisi-cli b/pisi-cli index 2ceeae69..649443fa 100755 --- a/pisi-cli +++ b/pisi-cli @@ -33,6 +33,8 @@ def handle_exception(exception, value, tb): ui.error(_("Keyboard Interrupt: Exiting...")) sys.exit(1) elif exception == XmlError: + #FIXME: is this necessary? Looks redundant. + ui.error("XML error encountered.") ui.error(unicode(value)) sys.exit(1) elif isinstance(value, pisi.Error):