* various: pyflakes fixes

svn: r6982
This commit is contained in:
Don Allingham
2006-07-03 04:25:33 +00:00
parent 0114cd0bff
commit e593f5fd33
47 changed files with 20 additions and 235 deletions

View File

@@ -48,8 +48,6 @@ import gtk.glade
#
#-------------------------------------------------------------------------
import const
import RelLib
import GrampsDisplay
from _EditSecondary import EditSecondary
from DisplayTabs import SourceEmbedList, NoteTab

View File

@@ -45,7 +45,6 @@ import gtk.glade
#
#-------------------------------------------------------------------------
import const
import RelLib
from _EditSecondary import EditSecondary
from DisplayTabs import SourceEmbedList, NoteTab

View File

@@ -27,18 +27,12 @@
#-------------------------------------------------------------------------
from gettext import gettext as _
try:
set()
except:
from sets import Set as set
#-------------------------------------------------------------------------
#
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#
@@ -46,12 +40,11 @@ import gtk.glade
#
#-------------------------------------------------------------------------
import const
import AutoComp
import RelLib
import GrampsDisplay
from _EditPrimary import EditPrimary
from QuestionDialog import WarningDialog, ErrorDialog
from QuestionDialog import ErrorDialog
from DisplayTabs import SourceEmbedList, NoteTab, GalleryTab, EventBackRefList
from GrampsWidgets import *

View File

@@ -27,18 +27,12 @@
#-------------------------------------------------------------------------
from gettext import gettext as _
try:
set()
except:
from sets import Set as set
#-------------------------------------------------------------------------
#
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#

View File

@@ -52,9 +52,7 @@ log = logging.getLogger(".")
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gobject
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#
@@ -64,10 +62,7 @@ import gtk.glade
import const
import Utils
import NameDisplay
import Spell
import GrampsDisplay
import RelLib
import AutoComp
import Config
import Errors

View File

@@ -49,7 +49,6 @@ import gtk.glade
#-------------------------------------------------------------------------
import const
import RelLib
import GrampsDisplay
import NameDisplay
import LdsUtils

View File

@@ -26,7 +26,6 @@
#
#-------------------------------------------------------------------------
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#

View File

@@ -33,9 +33,7 @@ import os
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gobject
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#
@@ -49,7 +47,6 @@ import ImgManip
from _EditPrimary import EditPrimary
from GrampsWidgets import *
from QuestionDialog import ErrorDialog
from DisplayTabs import SourceEmbedList,AttrEmbedList,NoteTab,MediaBackRefList
#-------------------------------------------------------------------------

View File

@@ -32,9 +32,7 @@ from gettext import gettext as _
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gobject
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#
@@ -42,7 +40,6 @@ import gtk.glade
#
#-------------------------------------------------------------------------
import const
import RelLib
import Mime
import ImgManip

View File

@@ -42,8 +42,6 @@ from gettext import gettext as _
#
#-------------------------------------------------------------------------
import gtk
import gtk.glade
import gtk.gdk
try:
set()
@@ -60,7 +58,6 @@ import Utils
import Mime
import RelLib
import GrampsWidgets
import Config
from GrampsDb import set_birth_death_index
@@ -140,16 +137,6 @@ class EditPerson(EditPrimary):
else:
self.surname_field.grab_focus()
# if not Config.get(Config.HIDE_EP_MSG):
# MessageHideDialog(
# _('Editing a person'),
# _('This window allows you to enter information about '
# 'a person. You can add events, including birth and '
# 'death information under the Events tab. Similarly, '
# 'you can add additional information, such as sources, '
# 'names, and images on other tabs.'),
# Config.HIDE_EP_MSG)
def _connect_signals(self):
"""
Connects any signals that need to be connected. Called by the

View File

@@ -35,9 +35,7 @@ log = logging.getLogger(".")
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gobject
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#
@@ -45,7 +43,6 @@ import gtk.glade
#
#-------------------------------------------------------------------------
import const
import Utils
import RelLib
from _EditPrimary import EditPrimary

View File

@@ -20,36 +20,12 @@
# $Id: _EditSourceRef.py 6068 2006-03-04 06:34:48Z dallingham $
#-------------------------------------------------------------------------
#
# Python modules
#
#-------------------------------------------------------------------------
from gettext import gettext as _
try:
set()
except:
from sets import Set as set
#-------------------------------------------------------------------------
#
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#
# gramps modules
#
#-------------------------------------------------------------------------
import const
import RelLib
import ManagedWindow
from QuestionDialog import WarningDialog, ErrorDialog
from GrampsWidgets import *
#-------------------------------------------------------------------------

View File

@@ -27,18 +27,12 @@
#-------------------------------------------------------------------------
from gettext import gettext as _
try:
set()
except:
from sets import Set as set
#-------------------------------------------------------------------------
#
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#
@@ -46,7 +40,6 @@ import gtk.glade
#
#-------------------------------------------------------------------------
import const
import RelLib
from DisplayTabs import NoteTab,AddrEmbedList,WebEmbedList,SourceBackRefList
from GrampsWidgets import *

View File

@@ -33,7 +33,6 @@ from gettext import gettext as _
#
#-------------------------------------------------------------------------
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#

View File

@@ -20,10 +20,7 @@
# $Id$
from gettext import gettext as _
import ManagedWindow
import Config
import GrampsDisplay
class EditSecondary(ManagedWindow.ManagedWindow):

View File

@@ -35,7 +35,6 @@ log = logging.getLogger(".")
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gobject
import gtk.glade
#-------------------------------------------------------------------------
@@ -45,9 +44,6 @@ import gtk.glade
#-------------------------------------------------------------------------
import const
import RelLib
import NameDisplay
import Spell
import GrampsDisplay
from _EditPrimary import EditPrimary
from DisplayTabs import \

View File

@@ -27,18 +27,12 @@
#-------------------------------------------------------------------------
from gettext import gettext as _
try:
set()
except:
from sets import Set as set
#-------------------------------------------------------------------------
#
# GTK/Gnome modules
#
#-------------------------------------------------------------------------
import gtk
import gtk.glade
#-------------------------------------------------------------------------
#

View File

@@ -26,7 +26,6 @@
#
#-------------------------------------------------------------------------
from gettext import gettext as _
from cgi import escape
#-------------------------------------------------------------------------
#