Skip to content
Snippets Groups Projects
Commit 1ced27eb authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

BF: Was always LOADing prefixed files.

parent bbd81728
No related branches found
No related tags found
No related merge requests found
...@@ -710,13 +710,13 @@ class _FileOrThing(object): ...@@ -710,13 +710,13 @@ class _FileOrThing(object):
# starts with it will be # starts with it will be
# loaded. # loaded.
if prefix is LOAD: if prefix is LOAD:
prefix = random.sample(string.ascii_letters, 10) prefix = random.sample(string.ascii_letters, 10)
prefix = ''.join(prefix) prefix = ''.join(prefix)
prefixedFiles[prefix] = self.__outprefix
realPrefix = prefix realPrefix = prefix
prefix = op.basename(prefix) prefix = op.basename(prefix)
allargs[self.__outprefix] = op.join(workdir, prefix) allargs[self.__outprefix] = op.join(workdir, prefix)
prefixedFiles[prefix] = self.__outprefix
if len(self.__things) > 0: things = self.__things if len(self.__things) > 0: things = self.__things
else: things = allargs.keys() else: things = allargs.keys()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment