[pitivi] bin: Fix error message about gi missing



commit 0715cc65b2cd90aa3ba9afe4d76140f924d01223
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Tue Feb 13 23:35:27 2018 +0100

    bin: Fix error message about gi missing
    
    Differential Revision: https://phabricator.freedesktop.org/D1953

 bin/pitivi.in |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/bin/pitivi.in b/bin/pitivi.in
index 30fb3bd..7886506 100755
--- a/bin/pitivi.in
+++ b/bin/pitivi.in
@@ -17,14 +17,12 @@
 # License along with this program; if not, write to the
 # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
 # Boston, MA 02110-1301, USA.
-
 import cProfile
+import gettext
+import locale
 import os
-import sys
 import signal
-import locale
-import gettext
-
+import sys
 from ctypes import cdll
 try:
     x11 = cdll.LoadLibrary('libX11.so')
@@ -62,8 +60,7 @@ def _add_pitivi_path():
     try:
         import gi.overrides
     except ImportError:
-        print(_("Could not import 'gi'. "
-                "Make sure you have pygobject available."))
+        print("Could not import 'gi'. Make sure you have pygobject.")
         exit(1)
 
     # Let Gst overrides from our prefix take precedence over any


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