FIX: Use shutil.move instead of os.rename in downloader recipe
authorAntoine Catton <acatton@tiolive.com>
Tue, 28 Aug 2012 02:08:09 +0000 (11:08 +0900)
committerAntoine Catton <acatton@tiolive.com>
Tue, 28 Aug 2012 02:08:09 +0000 (11:08 +0900)
commita7edaab5ccaeabe8291fb57babf3c6329f67a827
tree2bf7eddfed37ac1f41fd06c065d8311c63d90328
parent6242a73fe66a8258cc52473c416f84af255cbaaf
FIX: Use shutil.move instead of os.rename in downloader recipe

os.rename failed when it move the file across devices/mount-points.
shutil.move allow to rename/move a file from one physical device to
another.
slapos/recipe/downloader.py