[pitivi] loggable: Do not raise an exception on loggable.error



commit acf485cc3be6276e547800ed42ff61491cc30425
Author: Thibault Saunier <tsaunier gnome org>
Date:   Fri Jul 17 00:38:54 2015 +0200

    loggable: Do not raise an exception on loggable.error
    
    Summary:
    If we want to raise a SystemExit we should do so
    
    Depends on D263
    
    Reviewers: Mathieu_Du, aleb
    
    Differential Revision: https://phabricator.freedesktop.org/D264

 pitivi/utils/loggable.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/pitivi/utils/loggable.py b/pitivi/utils/loggable.py
index 5d0ea8a..03d7546 100644
--- a/pitivi/utils/loggable.py
+++ b/pitivi/utils/loggable.py
@@ -551,11 +551,6 @@ def errorObject(object, cat, format, *args):
     """
     doLog(ERROR, object, cat, format, args)
 
-    if args:
-        raise SystemExit(format % args)
-    else:
-        raise SystemExit(format)
-
 
 def warningObject(object, cat, format, *args):
     """


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]