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
e4fc8e1b
Commit
e4fc8e1b
authored
13 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
handle private dir paths without leading slash
parent
54a3b664
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
+5
-0
5 additions, 0 deletions
debian/changelog
dh_python2
+7
-1
7 additions, 1 deletion
dh_python2
with
12 additions
and
1 deletion
debian/changelog
+
5
−
0
View file @
e4fc8e1b
python-defaults (2.7.2-6) UNRELEASED; urgency=low
[ Scott Kitterman ]
* Fixed typo in python-policy (thanks to Jakub Wilk)
[ Piotr Ożarowski ]
* dh_python2:
- handle private dirs without leading slash
-- Scott Kitterman <scott@kitterman.com> Sat, 03 Sep 2011 11:21:35 -0400
python-defaults (2.7.2-5) experimental; urgency=low
...
...
This diff is collapsed.
Click to expand it.
dh_python2
+
7
−
1
View file @
e4fc8e1b
...
...
@@ -554,7 +554,13 @@ def main():
log
.
warning
(
'
dh_pydeb detected, PyDist feature disabled
'
)
options
.
guess_deps
=
False
private_dir
=
None
if
not
args
else
args
[
0
]
if
not
args
:
private_dir
=
None
else
:
private_dir
=
args
[
0
]
if
not
private_dir
.
startswith
(
'
/
'
):
# handle usr/share/foo dirs (without leading slash)
private_dir
=
'
/
'
+
private_dir
# TODO: support more than one private dir at the same time (see :meth:scan)
if
options
.
skip_private
:
private_dir
=
False
...
...
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