Skip to content

Instantly share code, notes, and snippets.

@abadger
Created April 12, 2023 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abadger/35680972b9f55c8bebd902975bc19a62 to your computer and use it in GitHub Desktop.
Save abadger/35680972b9f55c8bebd902975bc19a62 to your computer and use it in GitHub Desktop.
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