Skip to content

Commit

Permalink
bug fix for args.noSort
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Jan 29, 2020
1 parent 3e60656 commit f88d7f6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions releaseNotes.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def getReleaseNotes(locRepo, remRepo, tagRange, noSort=False):
)

parser.add_argument(
"--nosort",
"--noSort",
type = argBool,
required = False,
default = False,
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit f88d7f6

Please sign in to comment.