mirror of
https://github.com/vale981/releases
synced 2025-03-05 09:41:42 -05:00
Ugh, Python 3 map objects
This commit is contained in:
parent
09c2f1b3a1
commit
039359d0f0
1 changed files with 3 additions and 1 deletions
|
@ -182,7 +182,9 @@ def construct_releases(entries, app):
|
|||
line = get_line(focus)
|
||||
log("release for line %r" % line)
|
||||
# Check for explicitly listed issues first
|
||||
explicit = map(str.strip, rest[0].split(',')) if rest else None
|
||||
explicit = None
|
||||
if rest:
|
||||
explicit = list(map(str.strip, rest[0].split(',')))
|
||||
# Do those by themselves since they override all other logic
|
||||
if explicit:
|
||||
log("Explicit issues requested: %r" % (explicit,))
|
||||
|
|
Loading…
Add table
Reference in a new issue