diff --git a/reposync/rhncheck.py b/reposync/rhncheck.py index aac5960e56fed8f3611ca881f501879374ac877a..89ad4615f55776b53a92dfa7906b944e31abe3be 100755 --- a/reposync/rhncheck.py +++ b/reposync/rhncheck.py @@ -62,6 +62,8 @@ def get_uuids(input_data, uuid_names): cmd = f"subscription-manager register --activationkey {activation_key} --force --name {name} --org {org}" process = subprocess.Popen(cmd, stderr=subprocess.PIPE, shell=True, stdout=subprocess.PIPE) out, err = process.communicate() + uuids.append(out['body']['uuid']) + break else: uuids.append(entry.get('uuid')) break