Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-defaults
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
python-defaults
Commits
9e6fc028
Commit
9e6fc028
authored
12 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
dh_python2: no longer sensitive to trailing slash in private dir names
(closes: #686358)
parent
a0597f70
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+7
-0
7 additions, 0 deletions
debian/changelog
dh_python2
+3
-2
3 additions, 2 deletions
dh_python2
with
10 additions
and
2 deletions
debian/changelog
+
7
−
0
View file @
9e6fc028
python-defaults (2.7.3-3) UNRELEASED; urgency=low
* dh_python2: no longer sensitive to trailing slash in private dir names
(closes: #686358)
-- Piotr Ożarowski <piotr@debian.org> Fri, 31 Aug 2012 18:06:26 +0200
python-defaults (2.7.3-2) unstable; urgency=low
* dh_python2: ignore empty files while trying to normalize shebangs
...
...
This diff is collapsed.
Click to expand it.
dh_python2
+
3
−
2
View file @
9e6fc028
...
...
@@ -321,8 +321,9 @@ def scan(package, dname=None, options=None):
'
usr/share/%s
'
,
'
usr/share/games/%s
'
)]
else
:
# scan private directory *only*
proot
=
join
(
'
debian
'
,
package
,
dname
.
strip
(
'
/
'
))
private_to_check
=
[
dname
[
1
:]]
dname
=
dname
.
strip
(
'
/
'
)
proot
=
join
(
'
debian
'
,
package
,
dname
)
private_to_check
=
[
dname
]
for
root
,
dirs
,
file_names
in
os
.
walk
(
proot
):
# ignore Python 3.X locations
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment