Skip to content

Commit

Permalink
truncate output
Browse files Browse the repository at this point in the history
  • Loading branch information
abyrd committed Sep 10, 2014
1 parent 12654d5 commit 2ce1673
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protobuf/tagstats.py
Expand Up @@ -19,6 +19,8 @@ def dump_tags(tags):
weighted.sort(key=lambda x: x[3], reverse=True)
for num, tag in enumerate(weighted):
print num, "%s=%s (%d)" % tag[:3]
if num > 512:
break

class TagCounter(object):
way_tags = {}
Expand Down

0 comments on commit 2ce1673

Please sign in to comment.