summaryrefslogtreecommitdiff
path: root/bin/find-most-common-warn-messages.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/find-most-common-warn-messages.py')
-rwxr-xr-xbin/find-most-common-warn-messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/find-most-common-warn-messages.py b/bin/find-most-common-warn-messages.py
index d89a8873fa4d..bec6e12acd85 100755
--- a/bin/find-most-common-warn-messages.py
+++ b/bin/find-most-common-warn-messages.py
@@ -25,7 +25,7 @@ for line in process.stdout:
messages[sourceAndLine] = messages[sourceAndLine] + 1
else:
messages[sourceAndLine] = 1
- sampleOfMessage[sourceAndLine] = tokens[6]
+ sampleOfMessage[sourceAndLine] = line[line.find(tokens[6]):]
tmplist = list() # set of tuple (count, sourceAndLine)
for key, value in messages.iteritems():