summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-11-18 13:46:50 +0100
committermathieui <mathieui@mathieui.net>2012-11-18 13:46:50 +0100
commitd8b12a35df88aaccf7403cecad73daf6e51acf70 (patch)
treed57b1e250aaa48ccbc38ad2eb10b6f783f15318e
parent27b7219b79280885128e82c0fcf0acdc8ed2eb26 (diff)
downloadpoezio-d8b12a35df88aaccf7403cecad73daf6e51acf70.tar.gz
poezio-d8b12a35df88aaccf7403cecad73daf6e51acf70.tar.bz2
poezio-d8b12a35df88aaccf7403cecad73daf6e51acf70.tar.xz
poezio-d8b12a35df88aaccf7403cecad73daf6e51acf70.zip
For some reasons, importlib.machinery does not work on some platforms
-rw-r--r--src/plugin_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin_manager.py b/src/plugin_manager.py
index ef0fae08..a81e3033 100644
--- a/src/plugin_manager.py
+++ b/src/plugin_manager.py
@@ -5,7 +5,7 @@ the API together. Defines also a bunch of variables related to the
plugin env.
"""
-import importlib
+from importlib import machinery
import os
import sys
import logging
@@ -39,7 +39,7 @@ except OSError:
pass
sys.path.append(plugins_dir)
-finder = importlib.machinery.PathFinder()
+finder = machinery.PathFinder()
class PluginManager(object):
"""