From f88d7f6d5f479ed085a0cd8ecb2bbc1f2e12423b Mon Sep 17 00:00:00 2001 From: Larry Ruckman Date: Wed, 29 Jan 2020 15:40:26 -0800 Subject: [PATCH] bug fix for args.noSort --- releaseNotes.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/releaseNotes.py b/releaseNotes.py index 38a8f4a3..830ada68 100644 --- a/releaseNotes.py +++ b/releaseNotes.py @@ -135,7 +135,7 @@ def getReleaseNotes(locRepo, remRepo, tagRange, noSort=False): ) parser.add_argument( - "--nosort", + "--noSort", type = argBool, required = False, default = False, @@ -178,7 +178,12 @@ def getReleaseNotes(locRepo, remRepo, tagRange, noSort=False): # Get the repo information repo = github.get_repo(f'slaclab/{project}') - md = getReleaseNotes(g,repo,tags,args.noSort) + md = getReleaseNotes( + locRepo = g, + remRepo = repo, + tagRange = tags, + noSort = args.noSort, + ) print(md)