wmlunits: ignore a dependency on the addon itself
This commit is contained in:
parent
f0b99fbb27
commit
47fa4faa15
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ def get_dependencies(addon):
|
|||
else:
|
||||
deps1 = []
|
||||
for d in deps1:
|
||||
if d == addon:
|
||||
print("Addon " + addon + " depends on itself".)
|
||||
continue
|
||||
if d in global_addons:
|
||||
_deps[addon].append(d)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue