Commit 10baeee8 authored by Marcel Huber's avatar Marcel Huber
Browse files

handling case for empty prerequisites list

parent 2555347a
......@@ -315,7 +315,8 @@ Original exception message:
return [j for j in targetlist if j is not None]
else:
target = self.getPackageTarget(pname, tname)
return target.depends + target.prerequisites
prereq = target.prerequisites if target.prerequisites else []
return target.depends + prereq
def get_fulltargetname(target=None):
if isinstance(target, str):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment