From 0a13d65e79c82e9a2a868f53f69c784c58b63967 Mon Sep 17 00:00:00 2001 From: Lon Hohberger Date: Fri, 8 Mar 2024 14:41:10 -0500 Subject: [PATCH 1/2] jira: Fix bug due to reordering of logic Some of our search/listing expected --labels to be in each subparser, but not all subparsers have --labels --- jirate/jira_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jirate/jira_cli.py b/jirate/jira_cli.py index 4306e53..1611cf9 100644 --- a/jirate/jira_cli.py +++ b/jirate/jira_cli.py @@ -134,7 +134,7 @@ def print_issues_by_state(issue_list, args=None): hbar_under(key) for issue in states[key]: print(' ', issue.key, end=' ') - if args and args.labels: + if args and hasattr(args, 'labels') and args.labels: print_labels(issue.raw, prefix='') print(issue.raw['fields']['summary']) print() From 7fb762cc98290119a61d51549957cfb4cc41a831 Mon Sep 17 00:00:00 2001 From: Lon Hohberger Date: Fri, 8 Mar 2024 14:42:15 -0500 Subject: [PATCH 2/2] Release 0.8.1 --- PKG-INFO | 2 +- jirate/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKG-INFO b/PKG-INFO index 2b88121..05e31d1 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: jirate -Version: 0.8.0 +Version: 0.8.1 Summary: Python CLI for JIRA and Trello Author: Lon Hohberger Author-email: lon@metamorphism.com diff --git a/jirate/__init__.py b/jirate/__init__.py index 492bb5d..c19dd78 100644 --- a/jirate/__init__.py +++ b/jirate/__init__.py @@ -1,3 +1,3 @@ #!/usr/bin/python3 -__version__ = '0.8.0' +__version__ = '0.8.1'