mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix infinite loop
This commit is contained in:
parent
b8ffba73ce
commit
d09a9be4da
@ -995,14 +995,13 @@ class Packager:
|
|||||||
dependency = assembly.FirstChildElement("dependency")
|
dependency = assembly.FirstChildElement("dependency")
|
||||||
while dependency:
|
while dependency:
|
||||||
depassembly = dependency.FirstChildElement("dependentAssembly")
|
depassembly = dependency.FirstChildElement("dependentAssembly")
|
||||||
if not depassembly:
|
if depassembly:
|
||||||
continue
|
|
||||||
|
|
||||||
ident = assembly.FirstChildElement("assemblyIdentity")
|
ident = assembly.FirstChildElement("assemblyIdentity")
|
||||||
if ident:
|
if ident:
|
||||||
name = ident.Attribute("name")
|
name = ident.Attribute("name")
|
||||||
if name:
|
if name:
|
||||||
filenames.append(name + ".manifest")
|
filenames.append(name + ".manifest")
|
||||||
|
|
||||||
dependency = dependency.NextSiblingElement("dependency")
|
dependency = dependency.NextSiblingElement("dependency")
|
||||||
|
|
||||||
# Pick up direct dll dependencies that it lists
|
# Pick up direct dll dependencies that it lists
|
||||||
|
Loading…
x
Reference in New Issue
Block a user