summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-10 13:42:44 +0200
committerNoel Grandin <noel@peralex.com>2016-06-10 13:42:44 +0200
commit38bb2c68319bd1561c35c66dc3699dd8a7a5866b (patch)
treea7bf07d39aa6f21ee79b2c0ada0474cae91e59d7 /bin
parent7846169215aa5f7bfe78ce1050638d63cf6e412c (diff)
improve sample message
Change-Id: If7ea670195e55d306c4b0733bfcd3c8c6040eddc
Diffstat (limited to 'bin')
-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():