[Libreoffice-commits] core.git: bin/find-most-common-warn-messages.py
Noel Grandin
noel at peralex.com
Fri Jun 10 11:43:11 UTC 2016
bin/find-most-common-warn-messages.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 38bb2c68319bd1561c35c66dc3699dd8a7a5866b
Author: Noel Grandin <noel at peralex.com>
Date: Fri Jun 10 13:42:44 2016 +0200
improve sample message
Change-Id: If7ea670195e55d306c4b0733bfcd3c8c6040eddc
diff --git a/bin/find-most-common-warn-messages.py b/bin/find-most-common-warn-messages.py
index d89a887..bec6e12 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():
More information about the Libreoffice-commits
mailing list