E5Gui/E5ErrorMessage.py

changeset 3687
68952a98e7b2
parent 3670
f0cb7579c0b4
child 3776
ccb6eacb50e5
diff -r 730f48533e37 -r 68952a98e7b2 E5Gui/E5ErrorMessage.py
--- a/E5Gui/E5ErrorMessage.py	Sat Jul 05 18:22:30 2014 +0200
+++ b/E5Gui/E5ErrorMessage.py	Sat Jul 05 18:33:48 2014 +0200
@@ -92,6 +92,7 @@
     Module function handling messages.
     
     @param msgType type of the message (integer, QtMsgType)
+    @param context context information (QMessageLogContext)
     @param message message to be shown (bytes)
     """
     if __msgHandlerDialog:
@@ -115,8 +116,8 @@
                              .replace("\r", "<br/>")
             msg = "<p><b>{0}</b></p><p>{1}</p><p>File: {2}</p>" \
                 "<p>Line: {3}</p><p>Function: {4}</p>".format(
-                messageType, Utilities.html_uencode(message),
-                context.file, context.line, context.function)
+                    messageType, Utilities.html_uencode(message),
+                    context.file, context.line, context.function)
             if QThread.currentThread() == qApp.thread():
                 __msgHandlerDialog.showMessage(msg)
             else:

eric ide

mercurial