From fa0b9ca921259ada5737b1e05cdbc1d8c6c2d913 Mon Sep 17 00:00:00 2001 From: Date: Mon, 29 Apr 2013 17:09:22 +0200 Subject: fix "none" labels --- issues.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/issues.py b/issues.py index ed9882b..d3e7357 100755 --- a/issues.py +++ b/issues.py @@ -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 -- cgit v1.2.3