From 96101850ec8030bf50ed8d17c0e3ba83e2982344 Mon Sep 17 00:00:00 2001 From: Jiri Konecny Date: Aug 03 2020 10:57:53 +0000 Subject: Remove subscription workaround to not use treeinfo repositories This is not required anymore because we are reloading (so cleaning) repositories on each payload reset. Related: rhbz#1851207 --- diff --git a/pyanaconda/ui/lib/subscription.py b/pyanaconda/ui/lib/subscription.py index 845a5b1..3551219 100644 --- a/pyanaconda/ui/lib/subscription.py +++ b/pyanaconda/ui/lib/subscription.py @@ -275,11 +275,6 @@ def register_and_subscribe(payload, progress_callback=None, error_callback=None) if source_proxy.Type in SOURCE_TYPES_OVERRIDEN_BY_CDN: log.debug("subscription thread: overriding current installation source by CDN") switch_source(payload, SOURCE_TYPE_CDN) - # disable automatically added treeinfo repos so that - # they do not interfere with the CDN - for repo in payload.data.repo.dataList(): - if repo.treeinfo_origin: - repo.enabled = False # and done, report attaching subscription was successful log.debug("subscription thread: auto attach succeeded")