Skip to content

Commit

Permalink
Update how importlib is imported (#825)
Browse files Browse the repository at this point in the history
importlib's util module should be imported via import importlib.util not import importlib. The invalid import style can cause unexpected errors.
  • Loading branch information
Javagedes authored Jun 5, 2024
1 parent b8ab952 commit 59bc32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edk2toolext/environment/plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
##
"""This module contains code that supports Build Plugins."""

import importlib
import importlib.util
import logging
import os
import sys
Expand Down

0 comments on commit 59bc32c

Please sign in to comment.