Merge lp:~maxb/bzr-builddeb/python-debian-compat into lp:bzr-builddeb

Proposed by Max Bowsher
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: 528
Merged at revision: 529
Proposed branch: lp:~maxb/bzr-builddeb/python-debian-compat
Merge into: lp:bzr-builddeb
Prerequisite: lp:~maxb/bzr-builddeb/testfix
Diff against target: 11 lines (+1/-1)
1 file modified
util.py (+1/-1)
To merge this branch: bzr merge lp:~maxb/bzr-builddeb/python-debian-compat
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+51435@code.launchpad.net

This proposal supersedes a proposal from 2011-02-26.

Commit message

Use Version.debian_version not Version.debian_revision - the latter requires python-debian 0.1.15 or better.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'util.py'
2--- util.py 2011-02-04 11:30:52 +0000
3+++ util.py 2011-02-26 21:11:55 +0000
4@@ -668,7 +668,7 @@
5
6 # If the package doesn't have a debian revision then it must be native.
7 if version is not None:
8- version_native = (not version.debian_revision)
9+ version_native = (not version.debian_version)
10 else:
11 version_native = None
12

Subscribers

People subscribed via source and target branches