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
Tsurata, Aki
CTDAS
Commits
e2a91d95
Commit
e2a91d95
authored
Jun 06, 2011
by
Peters, Wouter
Browse files
skip non-existing files, temporary solution
parent
54d406f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
da/tools/initexit.py
View file @
e2a91d95
...
...
@@ -460,6 +460,9 @@ class CycleControl(dict):
if
os
.
path
.
isdir
(
file
):
# skip dirs
continue
if
not
os
.
path
.
exists
(
file
):
# skip dirs
msg
=
" [not found] .... %s "
%
file
;
logging
.
warning
(
msg
)
continue
msg
=
" [copy] .... %s "
%
file
;
logging
.
debug
(
msg
)
dummy
=
shutil
.
copy
(
file
,
file
.
replace
(
os
.
path
.
split
(
file
)[
0
],
targetdir
)
)
...
...
Write
Preview
Supports
Markdown
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