Correctly parse foo/arch/ver in unversionned mode

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
master
Adam D. Barratt 13 years ago
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…
Cancel
Save