diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-10 13:42:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-06-10 13:42:44 +0200 |
commit | 38bb2c68319bd1561c35c66dc3699dd8a7a5866b (patch) | |
tree | a7bf07d39aa6f21ee79b2c0ada0474cae91e59d7 /bin | |
parent | 7846169215aa5f7bfe78ce1050638d63cf6e412c (diff) |
improve sample message
Change-Id: If7ea670195e55d306c4b0733bfcd3c8c6040eddc
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find-most-common-warn-messages.py | 2 |
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(): |