correct error text

This commit is contained in:
Mike McLean 2019-08-09 10:00:51 -04:00 committed by Tomas Kopecek
parent 22e606bd1e
commit ba83f877ff

View file

@ -6636,7 +6636,7 @@ def import_archive_internal(filepath, buildinfo, type, typeInfo, buildroot_id=No
archiveinfo['type_id'] = archivetype['id']
btype = lookup_name('btype', type, strict=False)
if btype is None:
raise koji.BuildError('unsupported archive type: %s' % type)
raise koji.BuildError('unsupported build type: %s' % type)
archiveinfo['btype_id'] = btype['id']
# cg extra data