Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
e2dae3e0
Commit
e2dae3e0
authored
May 12, 2005
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't copy '.svn' directories from skeleton into an instance.
(Thanks to Dale Hirt for the patch).
parent
968fe738
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
utilities/copyzopeskel.py
utilities/copyzopeskel.py
+2
-2
No files found.
doc/CHANGES.txt
View file @
e2dae3e0
...
...
@@ -31,6 +31,9 @@ Zope Changes
Bugs fixed
- Don't copy '.svn' directories from skeleton into an instance
(thanks to Dale Hirt for the patch).
- Collector #1776: Improved setup.py.
The Finder class is now used for the complete lib/python tree and has
a blacklist instead of a whitelist for file extensions. So there
...
...
utilities/copyzopeskel.py
View file @
e2dae3e0
...
...
@@ -186,12 +186,12 @@ def copyskel(sourcedir, targetdir, uid, gid, **replacements):
print
>>
sys
.
stderr
,
msg
sys
.
exit
(
1
)
CVS
=
os
.
path
.
normcase
(
"CVS"
)
CVS
_DIRS
=
[
os
.
path
.
normcase
(
"CVS"
),
os
.
path
.
normcase
(
".svn"
)]
def
copydir
((
targetdir
,
replacements
,
uid
,
gid
),
sourcedir
,
names
):
# Don't recurse into CVS directories:
for
name
in
names
[:]:
if
os
.
path
.
normcase
(
name
)
==
CV
S
:
if
os
.
path
.
normcase
(
name
)
in
CVS_DIR
S
:
names
.
remove
(
name
)
elif
os
.
path
.
isfile
(
os
.
path
.
join
(
sourcedir
,
name
)):
# Copy the file:
...
...
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