Skip to content

Commit 91ecc5f

Browse files
committedFeb 24, 2014
add 'warning' to the respective python message log tab
1 parent 6a3d0d8 commit 91ecc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def showWarning(message, category, filename, lineno, file=None, line=None):
5252
stk += s.decode('utf-8', 'replace')
5353
QgsMessageLog.logMessage(
5454
"warning:%s\ntraceback:%s" % ( warnings.formatwarning(message, category, filename, lineno), stk),
55-
QCoreApplication.translate( "Python", "Python" )
55+
QCoreApplication.translate( "Python", "Python warning" )
5656
)
5757
warnings.showwarning = showWarning
5858

0 commit comments

Comments
 (0)
Please sign in to comment.