[pitivi] system: Fix debug statement



commit 1ad09e73ece9f29802fe250abb6f0c0283d8c283
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Mon Dec 2 05:01:19 2013 +0100

    system: Fix debug statement

 pitivi/utils/system.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/utils/system.py b/pitivi/utils/system.py
index 9831794..e25a8c5 100644
--- a/pitivi/utils/system.py
+++ b/pitivi/utils/system.py
@@ -44,7 +44,7 @@ class System(Signallable, Loggable):
 
     def __init__(self):
         Loggable.__init__(self)
-        self.log("new object" + str(self))
+        self.log("new object " + str(self))
         self._reset()
 
     def _reset(self):
@@ -167,7 +167,7 @@ class System(Signallable, Loggable):
         @arg message: C{str} the body of the message
         @arg icon: C{str} icon to be shown with the message
         """
-        self.debug("desktopMessage(): %s, %s" % title % message)
+        self.debug("desktopMessage(): %s, %s", title, message)
 
     def getUniqueFilename(self, string):
         """Get a filename which can only be obtained from the specified string.


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