[pitivi] loggable: Make sure funcname is always set



commit c57d88711c7d1a2ba08c423d27c6b0a81dde5f0b
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Wed Jan 29 14:09:59 2014 +0100

    loggable: Make sure funcname is always set

 pitivi/utils/loggable.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/utils/loggable.py b/pitivi/utils/loggable.py
index 0ab28f7..98b9b71 100644
--- a/pitivi/utils/loggable.py
+++ b/pitivi/utils/loggable.py
@@ -519,6 +519,7 @@ def doLog(level, object, category, format, args, where=-1, filePath=None, line=N
         message = format % args
     else:
         message = format
+    funcname = None
 
     # first all the unlimited ones
     if _log_handlers:


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