check all existing btypes
This commit is contained in:
parent
b81159bc2d
commit
6ad3d65a91
1 changed files with 1 additions and 3 deletions
|
|
@ -5626,6 +5626,7 @@ class CG_Importer(object):
|
|||
btype = key
|
||||
type_info = extra['typeinfo'][key]
|
||||
|
||||
btype = lookup_name('btype', btype, strict=False)
|
||||
if btype is None:
|
||||
raise koji.GenericError("No typeinfo for: %(filename)s" % fileinfo)
|
||||
|
||||
|
|
@ -5633,9 +5634,6 @@ class CG_Importer(object):
|
|||
raise koji.GenericError('Output type %s not listed in build '
|
||||
'types' % btype)
|
||||
|
||||
if btype not in legacy_types:
|
||||
raise koji.BuildError('unsupported archive type: %s' % type)
|
||||
|
||||
if koji.CHECKSUM_TYPES[fileinfo['checksum_type']] != 'md5':
|
||||
# XXX
|
||||
# until we change the way we handle checksums, we have to limit this to md5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue