*picky* rename

This commit is contained in:
2014-11-05 15:47:16 +01:00
parent 2ca9bc1d46
commit 8c127b9045

View File

@@ -222,8 +222,8 @@ class FileAPI(Resource):
path_remap = json.load(path_remap) path_remap = json.load(path_remap)
import shutil import shutil
for source_file_path, destination_file_pah in path_remap.items(): for src_file_path, dst_file_path in path_remap.items():
shutil.move(os.path.join(extract_tmp_dir, source_file_path), destination_file_pah) shutil.move(os.path.join(extract_tmp_dir, src_file_path), dst_file_path)
# TODO, dry run commit (using committ message) # TODO, dry run commit (using committ message)
# Seems not easily possible with SVN # Seems not easily possible with SVN