From 80fbfd4d8c782022054274ee2a572283ccc774db Mon Sep 17 00:00:00 2001
From: Nick Hall <nick__hall@hotmail.com>
Date: Tue, 2 Oct 2012 20:13:17 +0000
Subject: [PATCH] Remove redundant imports

svn: r20490
---
 gramps/gui/widgets/fanchartdesc.py               | 1 -
 gramps/plugins/gramplet/fanchartdescgramplet.py  | 1 -
 gramps/plugins/gramplet/fanchartgramplet.py      | 1 -
 gramps/plugins/quickview/ageondate.py            | 1 -
 gramps/plugins/rel/rel_hr.py                     | 1 -
 gramps/plugins/textreport/detancestralreport.py  | 3 ---
 gramps/plugins/textreport/detdescendantreport.py | 3 ---
 gramps/plugins/view/fanchartdescview.py          | 1 -
 gramps/plugins/view/fanchartview.py              | 1 -
 gramps/plugins/view/personlistview.py            | 1 -
 10 files changed, 14 deletions(-)

diff --git a/gramps/gui/widgets/fanchartdesc.py b/gramps/gui/widgets/fanchartdesc.py
index 8f7c41606..fb14a4e34 100644
--- a/gramps/gui/widgets/fanchartdesc.py
+++ b/gramps/gui/widgets/fanchartdesc.py
@@ -56,7 +56,6 @@ from cgi import escape
 from gen.display.name import displayer as name_displayer
 from gen.errors import WindowActiveError
 from gui.editors import EditPerson, EditFamily
-import gen.lib
 from gramps.gui.utils import hex_to_rgb
 from gui.ddtargets import DdTargets
 from gen.utils.alive import probably_alive
diff --git a/gramps/plugins/gramplet/fanchartdescgramplet.py b/gramps/plugins/gramplet/fanchartdescgramplet.py
index cdbf321d9..a7702e9da 100644
--- a/gramps/plugins/gramplet/fanchartdescgramplet.py
+++ b/gramps/plugins/gramplet/fanchartdescgramplet.py
@@ -44,7 +44,6 @@ except ImportError:
 #-------------------------------------------------------------------------
 from gen.ggettext import gettext as _
 from gen.plug import Gramplet
-import gen.lib
 from gen.errors import WindowActiveError
 from gui.editors import EditPerson
 from gui.widgets.fanchartdesc import (FanChartDescWidget, FanChartDescGrampsGUI,
diff --git a/gramps/plugins/gramplet/fanchartgramplet.py b/gramps/plugins/gramplet/fanchartgramplet.py
index 92fffca81..e7ab533e7 100644
--- a/gramps/plugins/gramplet/fanchartgramplet.py
+++ b/gramps/plugins/gramplet/fanchartgramplet.py
@@ -50,7 +50,6 @@ except ImportError:
 #-------------------------------------------------------------------------
 from gen.ggettext import gettext as _
 from gen.plug import Gramplet
-import gen.lib
 from gen.errors import WindowActiveError
 from gui.editors import EditPerson
 from gui.widgets.fanchart import (FanChartWidget, FanChartGrampsGUI,
diff --git a/gramps/plugins/quickview/ageondate.py b/gramps/plugins/quickview/ageondate.py
index df88370e0..5874c0b69 100644
--- a/gramps/plugins/quickview/ageondate.py
+++ b/gramps/plugins/quickview/ageondate.py
@@ -32,7 +32,6 @@ from gui.plug.quick import QuickTable
 from gen.utils.alive import probably_alive
 from gen.ggettext import gettext as _
 from gramps.gen.datehandler import displayer
-import gen.lib
 from gen.config import config
 
 def run(database, document, date):
diff --git a/gramps/plugins/rel/rel_hr.py b/gramps/plugins/rel/rel_hr.py
index a924fc8f2..9dc027ea1 100644
--- a/gramps/plugins/rel/rel_hr.py
+++ b/gramps/plugins/rel/rel_hr.py
@@ -32,7 +32,6 @@ Croatian-specific classes for calculating relationships and kinship names.
 #
 #-------------------------------------------------------------------------
 
-#import gen.lib
 import gramps.gen.relationship
 
 _PARENTS = ['', 'otac i majka', 'djedovi i bake', 'pradjedovi i prabake',
diff --git a/gramps/plugins/textreport/detancestralreport.py b/gramps/plugins/textreport/detancestralreport.py
index 3232df7cf..8dcdc0f8e 100644
--- a/gramps/plugins/textreport/detancestralreport.py
+++ b/gramps/plugins/textreport/detancestralreport.py
@@ -53,9 +53,6 @@ from gen.plug.report import ( Report, Bibliography )
 from gen.plug.report import endnotes
 from gen.plug.report import utils as ReportUtils
 from gen.plug.report import MenuReportOptions
-                        
-import gen.datehandler
-
 from gramps.plugins.lib.libnarrate import Narrator
 from gen.utils.trans import get_available_translations
 from gramps.plugins.lib.libtranslate import Translator, get_language_string
diff --git a/gramps/plugins/textreport/detdescendantreport.py b/gramps/plugins/textreport/detdescendantreport.py
index 430cce74d..4baf00fae 100644
--- a/gramps/plugins/textreport/detdescendantreport.py
+++ b/gramps/plugins/textreport/detdescendantreport.py
@@ -57,9 +57,6 @@ from gen.plug.report import (Report, Bibliography)
 from gen.plug.report import endnotes
 from gen.plug.report import utils as ReportUtils
 from gen.plug.report import MenuReportOptions
-                        
-import gen.datehandler
-
 from gramps.plugins.lib.libnarrate import Narrator
 from gen.utils.trans import get_available_translations
 from gramps.plugins.lib.libtranslate import Translator, get_language_string
diff --git a/gramps/plugins/view/fanchartdescview.py b/gramps/plugins/view/fanchartdescview.py
index f1887f8f7..8b1d631f1 100644
--- a/gramps/plugins/view/fanchartdescview.py
+++ b/gramps/plugins/view/fanchartdescview.py
@@ -42,7 +42,6 @@ from gen.ggettext import gettext as _
 # GRAMPS modules
 #
 #-------------------------------------------------------------------------
-import gen.lib
 import gramps.gui.widgets.fanchart as fanchart
 import gramps.gui.widgets.fanchartdesc as fanchartdesc
 from gui.views.navigationview import NavigationView
diff --git a/gramps/plugins/view/fanchartview.py b/gramps/plugins/view/fanchartview.py
index 281b05664..159287ba4 100644
--- a/gramps/plugins/view/fanchartview.py
+++ b/gramps/plugins/view/fanchartview.py
@@ -42,7 +42,6 @@ from gen.ggettext import gettext as _
 # GRAMPS modules
 #
 #-------------------------------------------------------------------------
-import gen.lib
 import gramps.gui.widgets.fanchart as fanchart
 from gui.views.navigationview import NavigationView
 from gui.views.bookmarks import PersonBookmarks
diff --git a/gramps/plugins/view/personlistview.py b/gramps/plugins/view/personlistview.py
index 42210337a..ce34e28c6 100644
--- a/gramps/plugins/view/personlistview.py
+++ b/gramps/plugins/view/personlistview.py
@@ -34,7 +34,6 @@ Person list View
 from gui.views.listview import LISTTREE
 from gramps.plugins.lib.libpersonview import BasePersonView
 from gui.views.treemodels.peoplemodel import PersonListModel
-import gen.lib
 
 #-------------------------------------------------------------------------
 #