From 9ae70ecb96e2e29cac3df62a12294c7e27d00fb1 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 29 Aug 2006 03:43:46 +0000 Subject: [PATCH] 2006-08-28 Don Allingham * src/RelLib/_Name.py: pyflakes fixes * src/Editors/_EditName.py: pyflakes fixes * src/DisplayTabs/_BackRefModel.py: pyflakes fixes * src/DisplayTabs/_GalleryTab.py: pyflakes fixes svn: r7284 --- gramps2/ChangeLog | 6 ++++++ gramps2/src/DisplayTabs/_BackRefModel.py | 2 ++ gramps2/src/DisplayTabs/_GalleryTab.py | 1 - gramps2/src/Editors/_EditName.py | 1 - gramps2/src/RelLib/_Name.py | 7 ------- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 862dc66f9..e7efa3143 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,9 @@ +2006-08-28 Don Allingham + * src/RelLib/_Name.py: pyflakes fixes + * src/Editors/_EditName.py: pyflakes fixes + * src/DisplayTabs/_BackRefModel.py: pyflakes fixes + * src/DisplayTabs/_GalleryTab.py: pyflakes fixes + 2006-08-28 Alex Roitman * src/RelLib/_Address.py (get_text_data_list): Typo. * src/Filters/Rules/Person/_HasTextMatchingSubstringOf.py (apply): diff --git a/gramps2/src/DisplayTabs/_BackRefModel.py b/gramps2/src/DisplayTabs/_BackRefModel.py index 2a66d2f73..0768bb874 100644 --- a/gramps2/src/DisplayTabs/_BackRefModel.py +++ b/gramps2/src/DisplayTabs/_BackRefModel.py @@ -28,6 +28,8 @@ import gobject import gtk +from gettext import gettext as _ + #------------------------------------------------------------------------- # # GRAMPS classes diff --git a/gramps2/src/DisplayTabs/_GalleryTab.py b/gramps2/src/DisplayTabs/_GalleryTab.py index fdf5e3397..118be9dcc 100644 --- a/gramps2/src/DisplayTabs/_GalleryTab.py +++ b/gramps2/src/DisplayTabs/_GalleryTab.py @@ -45,7 +45,6 @@ import os import RelLib import Utils import ImgManip -import Mime import Errors import Mime from DdTargets import DdTargets diff --git a/gramps2/src/Editors/_EditName.py b/gramps2/src/Editors/_EditName.py index d2e2f4adb..9efe8e8a8 100644 --- a/gramps2/src/Editors/_EditName.py +++ b/gramps2/src/Editors/_EditName.py @@ -41,7 +41,6 @@ import gtk.glade #------------------------------------------------------------------------- import const import Utils -import RelLib import NameDisplay from _EditSecondary import EditSecondary diff --git a/gramps2/src/RelLib/_Name.py b/gramps2/src/RelLib/_Name.py index 309e6ff5a..f5ac85313 100644 --- a/gramps2/src/RelLib/_Name.py +++ b/gramps2/src/RelLib/_Name.py @@ -24,13 +24,6 @@ Name class for GRAMPS """ -#------------------------------------------------------------------------- -# -# Python modules -# -#------------------------------------------------------------------------- -from gettext import gettext as _ - #------------------------------------------------------------------------- # # GRAMPS modules