[pitivi] bin: Stop if the modules initialization failed



commit f208fc76684fc4876e5ecbda11c53fd174db0c60
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Wed Apr 9 00:50:36 2014 +0200

    bin: Stop if the modules initialization failed

 bin/pitivi.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bin/pitivi.in b/bin/pitivi.in
index c347fdf..81d8733 100644
--- a/bin/pitivi.in
+++ b/bin/pitivi.in
@@ -113,8 +113,8 @@ def _initialize_modules():
     try:
         initialize_modules()
     except Exception as e:
-        print("Failed to initialize modules: ", e)
-
+        print("Failed to initialize modules")
+        raise
 
 def _check_requirements():
     from pitivi.check import check_requirements


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