[pitivi] app: Prefer to use the original loggable module name



commit c95c1aefc5dd1bee4aa6bc20e60c4ae9ba47cd95
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sat Nov 28 17:33:38 2015 +0100

    app: Prefer to use the original loggable module name
    
    Reviewed-by: Thibault Saunier <tsaunier gnome org>
    Differential Revision: https://phabricator.freedesktop.org/D569

 pitivi/application.py |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/pitivi/application.py b/pitivi/application.py
index ef10a5a..59a1786 100644
--- a/pitivi/application.py
+++ b/pitivi/application.py
@@ -29,21 +29,21 @@ from gi.repository import Gio
 from gi.repository import Gtk
 from gi.repository import Gst
 
-from pitivi.effects import EffectsManager
 from pitivi.configure import VERSION, RELEASES_URL
-from pitivi.settings import GlobalSettings, xdg_cache_home, get_dir
-from pitivi.utils.threads import ThreadMaster
+from pitivi.dialogs.startupwizard import StartUpWizard
+from pitivi.effects import EffectsManager
 from pitivi.mainwindow import PitiviMainWindow
 from pitivi.project import ProjectManager, ProjectLogObserver
-from pitivi.undo.undo import UndoableActionLog
+from pitivi.settings import GlobalSettings, xdg_cache_home, get_dir
 from pitivi.undo.timeline import TimelineLogObserver
-from pitivi.dialogs.startupwizard import StartUpWizard
+from pitivi.undo.undo import UndoableActionLog
+from pitivi.utils.threads import ThreadMaster
 
+from pitivi.utils import loggable
+from pitivi.utils.loggable import Loggable
 from pitivi.utils.misc import quote_uri, path_from_uri
 from pitivi.utils.system import getSystem
-from pitivi.utils.loggable import Loggable
 from pitivi.utils.timeline import Zoomable
-import pitivi.utils.loggable as log
 
 
 class Pitivi(Gtk.Application, Loggable):
@@ -129,7 +129,7 @@ class Pitivi(Gtk.Application, Loggable):
         # Let's show a human-readable Pitivi debug output by default, and only
         # show a crazy unreadable mess when surrounded by gst debug statements.
         enable_crack_output = "GST_DEBUG" in os.environ
-        log.init('PITIVI_DEBUG', enable_color, enable_crack_output)
+        loggable.init('PITIVI_DEBUG', enable_color, enable_crack_output)
 
         self.info('starting up')
         self.settings = GlobalSettings()


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