Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
isaak yansane-sisk
slapos.buildout
Commits
cab255b6
Commit
cab255b6
authored
Mar 17, 2013
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed pyc cleanup for python 3.2.
parent
6bc23d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/zc/buildout/testing.py
src/zc/buildout/testing.py
+4
-2
No files found.
src/zc/buildout/testing.py
View file @
cab255b6
...
@@ -99,9 +99,11 @@ def clean_up_pyc(*path):
...
@@ -99,9 +99,11 @@ def clean_up_pyc(*path):
filename
+=
'c'
# .py -> .pyc
filename
+=
'c'
# .py -> .pyc
for
path
in
(
for
path
in
(
os
.
path
.
join
(
base
,
filename
),
os
.
path
.
join
(
base
,
filename
),
os
.
path
.
join
(
base
,
'__pycache__'
,
filename
),
os
.
path
.
join
(
base
,
'__pycache__'
),
):
):
if
os
.
path
.
exists
(
path
):
if
os
.
path
.
isdir
(
path
):
rmdir
(
path
)
elif
os
.
path
.
exists
(
path
):
remove
(
path
)
remove
(
path
)
## FIXME - check for other platforms
## FIXME - check for other platforms
...
...
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