piknik

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

commit 81eb4ba5fd6347dbe65af4a72a5b090ae99d62f4
parent 431ef1c5b58d72f3f9ca25c4ff9528ed6954ae3e
Author: lash <dev@holbrook.no>
Date:   Sat, 22 Apr 2023 09:29:36 +0100

Work with missing alias field

Diffstat:
MCHANGELOG | 2++
Mpiknik/issue.py | 2+-
Msetup.cfg | 2+-
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,3 +1,5 @@ +- 0.3.10 + * Fix backward compatibilty for issue structs without alias - 0.3.9 * Add issue id alias for easier referencing when cli manipulation * Auto-generate disposable gnupg key for cli test diff --git a/piknik/issue.py b/piknik/issue.py @@ -37,7 +37,7 @@ class Issue: o.owner_idx = i for v in r['dependencies']: o.dep(v) - o.alias = r['alias'] + o.alias = r.get('alias') return o diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = piknik -version = 0.3.9 +version = 0.3.10 description = CLI issue tracker author = Louis Holbrook author_email = dev@holbrook.no