mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
pull-debian-debdiff: Convert distance to an integer, so it works when
specified.
This commit is contained in:
parent
5bb84b1548
commit
e3ea0c9b97
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -6,6 +6,8 @@ ubuntu-dev-tools (0.121) UNRELEASED; urgency=low
|
|||||||
|
|
||||||
[ Stefano Rivera ]
|
[ Stefano Rivera ]
|
||||||
* ubuntutools.archive.rmadison: suite can be None, handle this correctly.
|
* ubuntutools.archive.rmadison: suite can be None, handle this correctly.
|
||||||
|
* pull-debian-debdiff: Convert distance to an integer, so it works when
|
||||||
|
specified.
|
||||||
|
|
||||||
-- Daniel Holbach <daniel.holbach@ubuntu.com> Mon, 21 Mar 2011 12:24:56 +0100
|
-- Daniel Holbach <daniel.holbach@ubuntu.com> Mon, 21 Mar 2011 12:24:56 +0100
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ def main():
|
|||||||
parser.error('Too many arguments')
|
parser.error('Too many arguments')
|
||||||
package = args[0]
|
package = args[0]
|
||||||
version = args[1]
|
version = args[1]
|
||||||
distance = args[2] if len(args) > 2 else 1
|
distance = int(args[2]) if len(args) > 2 else 1
|
||||||
|
|
||||||
config = UDTConfig(opts.no_conf)
|
config = UDTConfig(opts.no_conf)
|
||||||
if opts.debian_mirror is None:
|
if opts.debian_mirror is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user