mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-12 17:31:29 +00:00
backportpackage: Backport from local source packages again (LP: #801945)
This commit is contained in:
parent
7acdaaf977
commit
aa99618dd6
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ ubuntu-dev-tools (0.128) UNRELEASED; urgency=low
|
|||||||
|
|
||||||
[ Stefano Rivera ]
|
[ Stefano Rivera ]
|
||||||
* ubuntutools.builder: Detect missing builder and fail early.
|
* ubuntutools.builder: Detect missing builder and fail early.
|
||||||
|
* backportpackage: Backport from local source packages again (LP: #801945)
|
||||||
|
|
||||||
[ Julian Taylor ]
|
[ Julian Taylor ]
|
||||||
* lp-shell: use ipython shell if available
|
* lp-shell: use ipython shell if available
|
||||||
|
@ -101,7 +101,7 @@ class SourcePackage(object):
|
|||||||
Use DebianSourcePackage or UbuntuSourcePackage instead of using this
|
Use DebianSourcePackage or UbuntuSourcePackage instead of using this
|
||||||
directly.
|
directly.
|
||||||
"""
|
"""
|
||||||
distribution = 'unknown'
|
distribution = None
|
||||||
|
|
||||||
def __init__(self, package=None, version=None, component=None,
|
def __init__(self, package=None, version=None, component=None,
|
||||||
dscfile=None, lp=None, mirrors=(), workdir='.'):
|
dscfile=None, lp=None, mirrors=(), workdir='.'):
|
||||||
@ -124,8 +124,9 @@ class SourcePackage(object):
|
|||||||
# Mirrors
|
# Mirrors
|
||||||
self._dsc_source = dscfile
|
self._dsc_source = dscfile
|
||||||
self.mirrors = list(mirrors)
|
self.mirrors = list(mirrors)
|
||||||
self.masters = [UDTConfig.defaults['%s_MIRROR'
|
if self.distribution:
|
||||||
% self.distribution.upper()]]
|
self.masters = [UDTConfig.defaults['%s_MIRROR'
|
||||||
|
% self.distribution.upper()]]
|
||||||
if dscfile is not None:
|
if dscfile is not None:
|
||||||
if self.source is None:
|
if self.source is None:
|
||||||
self.source = 'unknown'
|
self.source = 'unknown'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user