Commit a7dc2a99 authored by Dan McGee's avatar Dan McGee
Browse files

reporead: blow up when package found with wrong architecture

Signed-off-by: default avatarDan McGee <>
parent 99da2f78
......@@ -537,8 +537,9 @@ def read_repo(primary_arch, repo_file, options):
if package.arch in packages_arches:
# we don't include mis-arched packages
logger.warning("Package %s arch = %s",, package.arch)
raise Exception(
"Package %s in database %s had wrong architecture %s" % (, repo_file, package.arch))
del packages'Starting database updates for %s.', repo_file)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment