Remove redundant imports
svn: r20490
This commit is contained in:
parent
d696b6be75
commit
80fbfd4d8c
@ -56,7 +56,6 @@ from cgi import escape
|
|||||||
from gen.display.name import displayer as name_displayer
|
from gen.display.name import displayer as name_displayer
|
||||||
from gen.errors import WindowActiveError
|
from gen.errors import WindowActiveError
|
||||||
from gui.editors import EditPerson, EditFamily
|
from gui.editors import EditPerson, EditFamily
|
||||||
import gen.lib
|
|
||||||
from gramps.gui.utils import hex_to_rgb
|
from gramps.gui.utils import hex_to_rgb
|
||||||
from gui.ddtargets import DdTargets
|
from gui.ddtargets import DdTargets
|
||||||
from gen.utils.alive import probably_alive
|
from gen.utils.alive import probably_alive
|
||||||
|
@ -44,7 +44,6 @@ except ImportError:
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gen.ggettext import gettext as _
|
from gen.ggettext import gettext as _
|
||||||
from gen.plug import Gramplet
|
from gen.plug import Gramplet
|
||||||
import gen.lib
|
|
||||||
from gen.errors import WindowActiveError
|
from gen.errors import WindowActiveError
|
||||||
from gui.editors import EditPerson
|
from gui.editors import EditPerson
|
||||||
from gui.widgets.fanchartdesc import (FanChartDescWidget, FanChartDescGrampsGUI,
|
from gui.widgets.fanchartdesc import (FanChartDescWidget, FanChartDescGrampsGUI,
|
||||||
|
@ -50,7 +50,6 @@ except ImportError:
|
|||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
from gen.ggettext import gettext as _
|
from gen.ggettext import gettext as _
|
||||||
from gen.plug import Gramplet
|
from gen.plug import Gramplet
|
||||||
import gen.lib
|
|
||||||
from gen.errors import WindowActiveError
|
from gen.errors import WindowActiveError
|
||||||
from gui.editors import EditPerson
|
from gui.editors import EditPerson
|
||||||
from gui.widgets.fanchart import (FanChartWidget, FanChartGrampsGUI,
|
from gui.widgets.fanchart import (FanChartWidget, FanChartGrampsGUI,
|
||||||
|
@ -32,7 +32,6 @@ from gui.plug.quick import QuickTable
|
|||||||
from gen.utils.alive import probably_alive
|
from gen.utils.alive import probably_alive
|
||||||
from gen.ggettext import gettext as _
|
from gen.ggettext import gettext as _
|
||||||
from gramps.gen.datehandler import displayer
|
from gramps.gen.datehandler import displayer
|
||||||
import gen.lib
|
|
||||||
from gen.config import config
|
from gen.config import config
|
||||||
|
|
||||||
def run(database, document, date):
|
def run(database, document, date):
|
||||||
|
@ -32,7 +32,6 @@ Croatian-specific classes for calculating relationships and kinship names.
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
#import gen.lib
|
|
||||||
import gramps.gen.relationship
|
import gramps.gen.relationship
|
||||||
|
|
||||||
_PARENTS = ['', 'otac i majka', 'djedovi i bake', 'pradjedovi i prabake',
|
_PARENTS = ['', 'otac i majka', 'djedovi i bake', 'pradjedovi i prabake',
|
||||||
|
@ -53,9 +53,6 @@ from gen.plug.report import ( Report, Bibliography )
|
|||||||
from gen.plug.report import endnotes
|
from gen.plug.report import endnotes
|
||||||
from gen.plug.report import utils as ReportUtils
|
from gen.plug.report import utils as ReportUtils
|
||||||
from gen.plug.report import MenuReportOptions
|
from gen.plug.report import MenuReportOptions
|
||||||
|
|
||||||
import gen.datehandler
|
|
||||||
|
|
||||||
from gramps.plugins.lib.libnarrate import Narrator
|
from gramps.plugins.lib.libnarrate import Narrator
|
||||||
from gen.utils.trans import get_available_translations
|
from gen.utils.trans import get_available_translations
|
||||||
from gramps.plugins.lib.libtranslate import Translator, get_language_string
|
from gramps.plugins.lib.libtranslate import Translator, get_language_string
|
||||||
|
@ -57,9 +57,6 @@ from gen.plug.report import (Report, Bibliography)
|
|||||||
from gen.plug.report import endnotes
|
from gen.plug.report import endnotes
|
||||||
from gen.plug.report import utils as ReportUtils
|
from gen.plug.report import utils as ReportUtils
|
||||||
from gen.plug.report import MenuReportOptions
|
from gen.plug.report import MenuReportOptions
|
||||||
|
|
||||||
import gen.datehandler
|
|
||||||
|
|
||||||
from gramps.plugins.lib.libnarrate import Narrator
|
from gramps.plugins.lib.libnarrate import Narrator
|
||||||
from gen.utils.trans import get_available_translations
|
from gen.utils.trans import get_available_translations
|
||||||
from gramps.plugins.lib.libtranslate import Translator, get_language_string
|
from gramps.plugins.lib.libtranslate import Translator, get_language_string
|
||||||
|
@ -42,7 +42,6 @@ from gen.ggettext import gettext as _
|
|||||||
# GRAMPS modules
|
# GRAMPS modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
|
||||||
import gramps.gui.widgets.fanchart as fanchart
|
import gramps.gui.widgets.fanchart as fanchart
|
||||||
import gramps.gui.widgets.fanchartdesc as fanchartdesc
|
import gramps.gui.widgets.fanchartdesc as fanchartdesc
|
||||||
from gui.views.navigationview import NavigationView
|
from gui.views.navigationview import NavigationView
|
||||||
|
@ -42,7 +42,6 @@ from gen.ggettext import gettext as _
|
|||||||
# GRAMPS modules
|
# GRAMPS modules
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import gen.lib
|
|
||||||
import gramps.gui.widgets.fanchart as fanchart
|
import gramps.gui.widgets.fanchart as fanchart
|
||||||
from gui.views.navigationview import NavigationView
|
from gui.views.navigationview import NavigationView
|
||||||
from gui.views.bookmarks import PersonBookmarks
|
from gui.views.bookmarks import PersonBookmarks
|
||||||
|
@ -34,7 +34,6 @@ Person list View
|
|||||||
from gui.views.listview import LISTTREE
|
from gui.views.listview import LISTTREE
|
||||||
from gramps.plugins.lib.libpersonview import BasePersonView
|
from gramps.plugins.lib.libpersonview import BasePersonView
|
||||||
from gui.views.treemodels.peoplemodel import PersonListModel
|
from gui.views.treemodels.peoplemodel import PersonListModel
|
||||||
import gen.lib
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user