diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-10-28 22:35:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-28 22:35:27 (GMT) |
commit | 91df392f8b91e37087f1208dbdd6fc6d6022076d (patch) | |
tree | bea931a564fc6b7f3e95061c99eedafd87dc526b | |
parent | cc044036983744758009a2c0b83b2a17f9ecfa8f (diff) | |
parent | c14f15b447b9cac503811f63e79a02dd1f043ac2 (diff) | |
download | mxe-91df392f8b91e37087f1208dbdd6fc6d6022076d.zip mxe-91df392f8b91e37087f1208dbdd6fc6d6022076d.tar.gz mxe-91df392f8b91e37087f1208dbdd6fc6d6022076d.tar.bz2 |
Merge pull request #1548 from LuaAndC/skeleton-fix-mv
skeleton.py: use shutil.move instead of os.rename
-rwxr-xr-x | tools/skeleton.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/skeleton.py b/tools/skeleton.py index 28a60a9..1e630bf 100755 --- a/tools/skeleton.py +++ b/tools/skeleton.py @@ -171,7 +171,7 @@ def update_index_html(name, description, website): (_, tmp_index_html) = tempfile.mkstemp() with open(tmp_index_html, 'wt') as f: f.write(index_html) - os.rename(tmp_index_html, 'docs/index.html') + shutil.move(tmp_index_html, 'docs/index.html') def make_skeleton( name, |