Skip to content

Commit

Permalink
fixup! fixup! snactor: Fix load_module missing in Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
matejmatuska committed Jun 28, 2024
1 parent ea77469 commit 8bd5c92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ build_container:
el8) \
_CONT_FILE="Containerfile.ubi8"; \
;; \
f3[56]|rawhide) \
f3[5-9]|rawhide) \
[ $$BUILD_CONTAINER = rawhide ] && VERSION=latest || VERSION=$${BUILD_CONTAINER: -2}; \
_CONT_FILE=".Containerfile.$${BUILD_CONTAINER}"; \
cp res/container-builds/Containerfile.fedora_generic res/container-builds/$$_CONT_FILE && \
Expand Down
2 changes: 1 addition & 1 deletion leapp/snactor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _load_commands_from(path):
continue
spec = importer.find_spec(name)
mod = importlib.util.module_from_spec(spec)
#sys.modules[name] = module
# sys.modules[name] = module
if hasattr(mod.cli, 'command'):
if not mod.cli.command.parent:
cli.command.add_sub(mod.cli.command)
Expand Down
2 changes: 1 addition & 1 deletion packaging/leapp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

Name: leapp
Version: 0.17.0
Release: 1%{?dist}
Release: 100.202406281232Z.03c651c.master%{?dist}
Summary: OS & Application modernization framework

License: ASL 2.0
Expand Down

0 comments on commit 8bd5c92

Please sign in to comment.