diff --git a/tools/fedora-helper.py b/tools/fedora-helper.py index 1799c9a..b2fb39d 100755 --- a/tools/fedora-helper.py +++ b/tools/fedora-helper.py @@ -139,9 +139,9 @@ def get_binary_license(ctx, source, add, verbose): repo_local = pool.add_repo("local") repo_local.priority = 99 - s = repo.add_rpm(source) + s = repo_local.add_rpm(source) for f in add: - repo.add_rpm(f) + repo_local.add_rpm(f) pool.addfileprovides() pool.createwhatprovides()