diff options
author | <floe@butterbrot.org> | 2013-04-29 22:27:41 +0200 |
---|---|---|
committer | <floe@butterbrot.org> | 2013-04-29 22:27:41 +0200 |
commit | 7fe734f2296edbb7bb0ce060634af72c5b48b7ab (patch) | |
tree | 849b7187cd536532938cb52696bda522550ff7fb | |
parent | e819526aa5d14923e9b80fd6d0a834e11bf5e93d (diff) |
tag feature reqs as enhancement
-rwxr-xr-x | issues.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -98,7 +98,7 @@ def handle_tracker_item(item, issue_title_prefix): if len(issue_title_prefix) > 0: issue_title_prefix = issue_title_prefix.strip() + " " - title = issue_title_prefix + item.find('field',attrs={'name':'summary'}).string + title = item.find('field',attrs={'name':'summary'}).string item_id = item.find('field',attrs={'name':'artifact_id'}).string item_submitter = item.find('field',attrs={'name':'submitted_by'}).string item_details = item.find('field',attrs={'name':'details'}).string @@ -110,6 +110,9 @@ def handle_tracker_item(item, issue_title_prefix): closed = item_id in closed_status_ids labels = [] try: + if "Feature" in issue_title_prefix: + labels.append("enhancement") + labels.append("import") labels.append(labelify("sf#"+item_id)) except KeyError: pass |