Use shutil.move instead of os.rename, since it will automatically fall
authorJohan Dahlin <johan@async.com.br>
Tue, 9 Dec 2008 15:19:57 +0000 (15:19 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Tue, 9 Dec 2008 15:19:57 +0000 (15:19 +0000)
commit517888c7425e68fdaabd3bc2199bee31d454036c
treede905b2a920a84b5d35fdbd018a28b094bdf5831
parentc1eb0a1670b41ffaa254310284a025ddc25c11a1
Use shutil.move instead of os.rename, since it will automatically fall

2008-12-09  Johan Dahlin  <johan@async.com.br>

* giscanner/cachestore.py (CacheStore.store): Use
shutil.move instead of os.rename, since it will
automatically fall back to copying+remove if the
src directory is on a different partition from
the dst directory.

svn path=/trunk/; revision=989
ChangeLog
giscanner/cachestore.py