cmds.project.lib.pkg_relations(): Fix: Empty output
This reverts the changes commit
24928c6fdid beyond mere type fixes to pkg_relations(). It looked better, but it had the output collapse to an empty list. Refactoring of that mega-function postponed.Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
5d1ba6e15a
commit
d0cb9817a2
1 changed files with 30 additions and 30 deletions
|
|
@ -112,7 +112,7 @@ def pkg_relations(
|
|||
raise Exception('Unknown version specifier in ' + spec)
|
||||
if len(dep) != 3 or not expand_semver_revision_range:
|
||||
expanded_deps = [dep]
|
||||
continue
|
||||
else:
|
||||
assert version is not None
|
||||
expanded_deps = []
|
||||
semver = re.split(r'[.-]', version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue