From d57ab034a65b6fcc03b8896df3f746b5528612db Mon Sep 17 00:00:00 2001 From: ggatward Date: Mon, 6 Mar 2017 09:11:38 +1100 Subject: [PATCH] Bugfix --- sat_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat_import.py b/sat_import.py index 2749285..f932ba9 100755 --- a/sat_import.py +++ b/sat_import.py @@ -86,7 +86,7 @@ def sync_content(org_id, imported_repos): for repo_result in enabled_repos['results']: if repo in repo_result['label']: # Ensure we have an exact match on the repo label - if repo == result['label']: + if repo == repo_result['label']: do_import = True repos_to_sync.append(repo_result['id'])