This commit is contained in:
Toke Stuart Jepsen 2022-12-21 12:37:24 +00:00
parent 0fc1e357a3
commit 1bb6d77e4e

View file

@ -122,13 +122,11 @@ class ExtractXgenCache(publish.Extractor):
cmds.delete(duplicate_nodes + [collection])
# Setup transfers.
#needs to reduce resources to only what is used for the collections in
#the objectset
xgen_dir = os.path.join(
os.path.dirname(instance.context.data["currentFile"]), "xgen"
)
transfers = []
for root, dirs, files in os.walk(xgen_dir):
for root, _, files in os.walk(xgen_dir):
for file in files:
source = os.path.join(root, file)
destination = source.replace(