mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 14:07:29 +00:00
MigrationItem: rename _build_name() to _canonicalise_name()
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
994097e0fb
commit
b635769606
@ -92,9 +92,9 @@ class MigrationItem:
|
|||||||
if self.is_removal:
|
if self.is_removal:
|
||||||
self._suite = 'testing'
|
self._suite = 'testing'
|
||||||
|
|
||||||
self._build_name()
|
self._canonicalise_name()
|
||||||
|
|
||||||
def _build_name(self):
|
def _canonicalise_name(self):
|
||||||
parts = self._name.split('/', 3)
|
parts = self._name.split('/', 3)
|
||||||
is_removal = self.is_removal
|
is_removal = self.is_removal
|
||||||
if len(parts) == 1 or self._architecture == 'source':
|
if len(parts) == 1 or self._architecture == 'source':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user