tools/trac-keywords.py: dont include empty keyword
This commit is contained in:
parent
2ad8ed0931
commit
d3f0f7ff12
|
@ -17,6 +17,8 @@ def readdb():
|
||||||
continue
|
continue
|
||||||
nr = line[:pos1]
|
nr = line[:pos1]
|
||||||
for kw in line[pos1+1:].split(' '):
|
for kw in line[pos1+1:].split(' '):
|
||||||
|
if kw == '':
|
||||||
|
continue
|
||||||
if kw not in ret:
|
if kw not in ret:
|
||||||
ret[kw] = []
|
ret[kw] = []
|
||||||
ret[kw].append(nr);
|
ret[kw].append(nr);
|
||||||
|
|
Loading…
Reference in New Issue