Browse Source

Removed strange import

Removed the "from .datasource_plugin import DatasourcePlugin" in
Plugin.register
Quentin Bonaventure 8 years ago
parent
commit
daa16b93e1
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      lodel/plugin/plugins.py

+ 0
- 1
lodel/plugin/plugins.py View File

@@ -597,7 +597,6 @@ file : '%s'. Running discover again..." % DISCOVER_CACHE_FILENAME)
597 597
     #@throw PluginError
598 598
     @classmethod
599 599
     def register(cls, plugin_name):
600
-        from .datasource_plugin import DatasourcePlugin
601 600
         if plugin_name in cls._plugin_instances:
602 601
             msg = "Plugin allready registered with same name %s"
603 602
             msg %= plugin_name

Loading…
Cancel
Save