-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core20): use importlib for local plugins
Avoid random importing from sys.path by using importlib. This will only ever work with python modules, and not python packages, we we theoretically do not support per our docs at https://snapcraft.io/docs/writing-local-plugins Fixes #5217 Signed-off-by: Sergio Schvezov <[email protected]>
- Loading branch information
1 parent
aa11a37
commit 64cce0b
Showing
1 changed file
with
29 additions
and
40 deletions.
There are no files selected for viewing
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