Created
April 12, 2023 19:53
-
-
Save abadger/35680972b9f55c8bebd902975bc19a62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/convert2rhel/actions/pre_ponr_changes/handle_packages.py b/convert2rhel/actions/pre_ponr_changes/handle_packages.py | |
index ad4ce58..a46b93f 100644 | |
--- a/convert2rhel/actions/pre_ponr_changes/handle_packages.py | |
+++ b/convert2rhel/actions/pre_ponr_changes/handle_packages.py | |
@@ -17,7 +17,7 @@ __metaclass__ = type | |
import logging | |
-from convert2rhel import actions, pkghandler | |
+from convert2rhel import actions, pkghandler, utils | |
from convert2rhel.systeminfo import system_info | |
@@ -35,7 +35,10 @@ class ListThirdPartyPackages(actions.Action): | |
super(ListThirdPartyPackages, self).run() | |
logger.task("Convert: List third-party packages") | |
+ self._do_the_thing() | |
+ @utils.run_in_child_process | |
+ def _do_the_thing(self): | |
third_party_pkgs = pkghandler.get_third_party_pkgs() | |
if third_party_pkgs: | |
logger.warning( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment