Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
f7e155ed
Commit
f7e155ed
authored
Sep 26, 2011
by
Arno Töll
Browse files
Cherry pick fix from
df89b5b8
parent
33f54d68
Changes
1
Hide whitespace changes
Inline
Side-by-side
debexpo/lib/filesystem.py
View file @
f7e155ed
...
@@ -171,7 +171,7 @@ class CheckFiles(object):
...
@@ -171,7 +171,7 @@ class CheckFiles(object):
if
os
.
path
.
exists
(
file
):
if
os
.
path
.
exists
(
file
):
log
.
debug
(
"Removing file '%s'"
%
(
file
))
log
.
debug
(
"Removing file '%s'"
%
(
file
))
os
.
unlink
(
file
)
os
.
unlink
(
file
)
if
os
.
path
.
isdir
(
path
):
if
os
.
path
.
isdir
(
path
)
and
os
.
listdir
(
path
)
==
[]
:
log
.
debug
(
"Remove empty package repository '%s'"
%
(
path
))
log
.
debug
(
"Remove empty package repository '%s'"
%
(
path
))
os
.
rmdir
(
path
)
os
.
rmdir
(
path
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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