repo.or.cz
/
check_mk.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Set version to 1.5.0b9
[check_mk.git]
/
tags.py
blob
08a335045527fede8baad53549989ba1fa7d2131
1
2
3
4
5
with
open
(
"tags.txt"
,
"r"
)
as
tfile
:
6
content
=
tfile
.
readlines
()
7
from
collections
import
defaultdict
8
tags
=
defaultdict
(
int
)
9
for
tag
in
content
:
10
if
"/"
in
tag
:
11
continue
12
tags
[
tag
] +=
1
13
14
for
tag
,
count
in
tags
.
iteritems
():
15
print
tag
,
count
16
17