Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Felix Seibert
xtreemfs_client
Commits
169d5ba1
Commit
169d5ba1
authored
May 13, 2018
by
Felix Seibert
Browse files
make external layout fixing more efficient
parent
d07e740f
Changes
1
Hide whitespace changes
Inline
Side-by-side
xtreemfs_client/OSDManager.py
View file @
169d5ba1
...
...
@@ -400,8 +400,8 @@ class OSDManager(object):
for
file
in
files
:
current_file_path
=
os
.
path
.
join
(
root
,
file
)
copied_file_path
=
os
.
path
.
join
(
tmp_dir
,
file
)
shutil
.
copy
(
current_file_path
,
copied_file_path
)
os
.
remove
(
current_file_path
)
shutil
.
move
(
current_file_path
,
copied_file_path
)
#
os.remove(current_file_path)
shutil
.
copy
(
copied_file_path
,
os
.
path
.
split
(
current_file_path
)[
0
])
os
.
remove
(
copied_file_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment