[Thincrust-devel] 4 commits
David Huff
dhuff at redhat.com
Fri Oct 24 14:41:08 UTC 2008
Alan Pevec wrote:
> David Huff wrote:
>> fixed long move operations try rename is not necessary problem was
>> due to another issue
>
> so what was the issue?
>
> _______________________________________________
> Thincrust-devel mailing list
> Thincrust-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/thincrust-devel
I was doing "shutil.move(files, self._outdir)" instead of
"shutil.move(files, '%s/%s' % (self._outdir, os.path.basename(files)))"
so the rename would always fail b/c the second arg was a dir not a file.
shutil does try a rename first the do a bitwise move if it fails b/c of
different file systems.
-D
More information about the Thincrust-devel
mailing list