mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 22:17:36 +00:00
Correctly parse foo/arch/ver in unversionned mode
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
parent
6a360858ea
commit
e44b038ed7
@ -66,7 +66,7 @@ class MigrationItem:
|
||||
self._architecture = 'source'
|
||||
self._version = parts[1]
|
||||
else:
|
||||
if len(parts) == 2:
|
||||
if len(parts) >= 2:
|
||||
self._architecture = parts[1]
|
||||
else:
|
||||
self._architecture = 'source'
|
||||
|
Loading…
x
Reference in New Issue
Block a user