Skip to content
Snippets Groups Projects
Commit 74abb51f authored by Manuela Kuhn's avatar Manuela Kuhn
Browse files

Used supprocess.call instead of shutil.move

parent f86bf7d4
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,8 @@ class Cleaner():
targetFile = target + os.sep + filename
self.log.debug("sourceFile: " + str(sourceFile))
self.log.debug("targetFile: " + str(targetFile))
shutil.copyfile(sourceFile, targetFile)
# shutil.copyfile(sourceFile, targetFile)
subprocess.call(["mv", sourceFile, targetFile])
fileWasCopied = True
self.log.debug("Copying file '" + str(filename) + "' from '" + str(source) + "' to '" + str(target) + "' (attempt " + str(iterationCount) + ")...success.")
except IOError:
......
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