2006-07-04 Don Allingham <don@gramps-project.org>

* various: pyflakes fixes



svn: r6992
This commit is contained in:
Don Allingham
2006-07-04 23:38:51 +00:00
parent 05b0117c82
commit 051f992afb
38 changed files with 75 additions and 78 deletions

View File

@@ -26,6 +26,7 @@
#
#-------------------------------------------------------------------------
from types import ClassType, InstanceType
from gettext import gettext as _
#-------------------------------------------------------------------------
#
@@ -41,6 +42,8 @@ import gtk
#-------------------------------------------------------------------------
import NameDisplay
import BaseDoc
import Utils
import ManagedWindow
from Filters import FilterComboBox,Rules
from _StyleComboBox import StyleComboBox

View File

@@ -28,7 +28,6 @@
#
#-------------------------------------------------------------------------
import os
from gettext import gettext as _
#-------------------------------------------------------------------------
#

View File

@@ -21,6 +21,19 @@
# $Id$
#-------------------------------------------------------------------------
#
# python
#
#-------------------------------------------------------------------------
from gettext import gettext as _
import gtk
#-------------------------------------------------------------------------
#
# Gramps modules
#
#-------------------------------------------------------------------------
import Utils
#-------------------------------------------------------------------------

View File

@@ -26,7 +26,10 @@
#
#-------------------------------------------------------------------------
import os
from gettext import gettext as _
import logging
log = logging.getLogger(".")
#-------------------------------------------------------------------------
@@ -43,6 +46,9 @@ import gtk
#-------------------------------------------------------------------------
import Config
import Errors
import Utils
import const
from QuestionDialog import ErrorDialog, OptionDialog
from _Constants import CATEGORY_TEXT, CATEGORY_DRAW, CATEGORY_BOOK, \

View File

@@ -30,17 +30,17 @@ Report option handling, including saving and parsing.
# Standard Python modules
#
#-------------------------------------------------------------------------
from gettext import gettext as _
import os
#-------------------------------------------------------------------------
#
# SAX interface
#
#-------------------------------------------------------------------------
try:
from xml.sax import make_parser,handler,SAXParseException
from xml.sax import make_parser, SAXParseException
except:
from _xmlplus.sax import make_parser,handler,SAXParseException
from _xmlplus.sax import make_parser, SAXParseException
#-------------------------------------------------------------------------
#
@@ -49,7 +49,6 @@ except:
#-------------------------------------------------------------------------
import const
import Config
import Utils
import BaseDoc
from PluginUtils import _Options

View File

@@ -20,6 +20,8 @@
# $Id$
from gettext import gettext as _
import gtk
#-------------------------------------------------------------------------

View File

@@ -36,7 +36,6 @@ from gettext import gettext as _
import logging
log = logging.getLogger(".")
#------------------------------------------------------------------------
#
# GNOME/GTK modules
@@ -44,7 +43,6 @@ log = logging.getLogger(".")
#------------------------------------------------------------------------
import gtk
from gtk.gdk import Color
import gtk.glade
#------------------------------------------------------------------------
#