3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Improvements: gen.plug only depends on gen, relationship default is moved to Relationship.py, and config for hidden to a gui.pluginmanager svn: r13405
This commit is contained in:
@@ -49,7 +49,7 @@ LOG = logging.getLogger(".clidbman")
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gen.db
|
||||
from gen.plug import PluginManager
|
||||
from gen.plug import BasePluginManager
|
||||
import config
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@@ -258,7 +258,7 @@ class CLIDbManager(object):
|
||||
@return: A tuple of (new_path, name) for the new database
|
||||
or (None, None) if no import was performed.
|
||||
"""
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr = BasePluginManager.get_instance()
|
||||
(name, ext) = os.path.splitext(os.path.basename(filename))
|
||||
format = ext[1:].lower()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user