diff options
author | <floe@butterbrot.org> | 2013-04-29 17:09:22 +0200 |
---|---|---|
committer | <floe@butterbrot.org> | 2013-04-29 17:09:22 +0200 |
commit | fa0b9ca921259ada5737b1e05cdbc1d8c6c2d913 (patch) | |
tree | f966edaa8714e8a581917a30cd622e6901bed295 | |
parent | c75936e5dd254b72188de7473098a51f522428f8 (diff) |
fix "none" labels
-rwxr-xr-x | issues.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -112,7 +112,9 @@ def handle_tracker_item(item, issue_title_prefix): except KeyError: pass try: - labels.append(labelify(item.find('field',attrs={'name':'category'}).string)) + category = labelify(item.find('field',attrs={'name':'category'}).string) + if category != "none": + labels.append(category) except KeyError: pass |