wmlunits: ignore a dependency on the addon itself
This commit is contained in:
parent
15b4ee9875
commit
2b47e63e8b
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,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