From d3f0f7ff12c1060abc5adb805ec35b8563d1004f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 1 Jan 2018 23:08:58 +0100 Subject: [PATCH] tools/trac-keywords.py: dont include empty keyword --- tools/trac-keywords.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/trac-keywords.py b/tools/trac-keywords.py index 7332bc6f6..2c5ff7060 100644 --- a/tools/trac-keywords.py +++ b/tools/trac-keywords.py @@ -17,6 +17,8 @@ def readdb(): continue nr = line[:pos1] for kw in line[pos1+1:].split(' '): + if kw == '': + continue if kw not in ret: ret[kw] = [] ret[kw].append(nr);