[pitivi] loggable: Pass the correct file path when calling handler



commit 4c41ebc3ffa1575709e0dca4b91c1c06876490e0
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Wed Jan 29 14:14:55 2014 +0100

    loggable: Pass the correct file path when calling handler

 pitivi/utils/loggable.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/utils/loggable.py b/pitivi/utils/loggable.py
index 98b9b71..730d2aa 100644
--- a/pitivi/utils/loggable.py
+++ b/pitivi/utils/loggable.py
@@ -531,7 +531,7 @@ def doLog(level, object, category, format, args, where=-1, filePath=None, line=N
             message = "\033[00m\033[32;01m%s:\033[00m %s" % (funcname, message)
         for handler in _log_handlers:
             try:
-                handler(level, object, category, file, line, message)
+                handler(level, object, category, filePath, line, message)
             except TypeError, e:
                 raise SystemError("handler %r raised a TypeError: %s" % (
                     handler, getExceptionMessage(e)))


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