Remove imports from __future__ module
This commit is contained in:
parent
ad073326e5
commit
3b5efdf7ae
@ -34,7 +34,6 @@ Module responsible for handling the command line arguments for Gramps.
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
@ -34,7 +34,6 @@ Module responsible for handling the command line arguments for Gramps.
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, unicode_literals
|
||||
import sys
|
||||
import getopt
|
||||
import logging
|
||||
|
@ -30,8 +30,6 @@ creating, and deleting of databases.
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
@ -31,8 +31,6 @@ Provides also two small base classes: :class:`CLIDbLoader`, :class:`CLIManager`
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import os
|
||||
|
@ -32,7 +32,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
import traceback
|
||||
import os
|
||||
import sys
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
""" Unittest for argparser.py """
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import unittest
|
||||
from ..argparser import ArgParser
|
||||
import sys
|
||||
|
@ -20,8 +20,6 @@
|
||||
|
||||
""" CLI tests for gramps """
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
import unittest
|
||||
import re
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
""" Unittest for user.py """
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import unittest
|
||||
from .. import user
|
||||
from ...gen.test.user_test import TestUser
|
||||
|
@ -27,7 +27,6 @@ The User class provides basic interaction with the user.
|
||||
# Python Modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from __future__ import print_function, unicode_literals
|
||||
import sys
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
@ -25,8 +25,6 @@
|
||||
Provides constants for other modules
|
||||
"""
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Standard python modules
|
||||
|
@ -22,8 +22,6 @@
|
||||
Class handling language-specific selection for date parser and displayer.
|
||||
"""
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# set up logging
|
||||
|
@ -28,7 +28,6 @@ Arabic-specific classes for parsing and displaying dates.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
import re
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Bulgarian-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -24,7 +24,7 @@
|
||||
"""
|
||||
Catalan-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Czech-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Danish-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
German-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -24,7 +24,6 @@
|
||||
Greek-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
|
||||
from __future__ import unicode_literals
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Spanish-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Finnish-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -21,16 +21,15 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
"""
|
||||
French-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
"""
|
||||
French-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
import re
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -26,7 +26,7 @@
|
||||
"""
|
||||
Croatian-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -24,7 +24,7 @@
|
||||
"""
|
||||
Italian-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Lithuanian-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Norwegian-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -28,7 +28,6 @@
|
||||
"""
|
||||
Dutch-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -25,7 +25,7 @@
|
||||
"""
|
||||
Polish-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -24,7 +24,7 @@
|
||||
"""
|
||||
Portuguese-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Russian-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Slovak-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -24,7 +24,7 @@
|
||||
"""
|
||||
Slovenian-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -25,7 +25,7 @@
|
||||
"""
|
||||
Serbian-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -22,7 +22,7 @@
|
||||
"""
|
||||
Swedish-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -29,7 +29,6 @@ Ukrainian-specific classes for parsing and displaying dates.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
import re
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -19,16 +19,15 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
"""
|
||||
Simplified-Chinese-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
"""
|
||||
Simplified-Chinese-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
import re
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -19,16 +19,15 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
"""
|
||||
Traditional-Chinese-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
"""
|
||||
Traditional-Chinese-specific classes for parsing and displaying dates.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
import re
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -25,7 +25,6 @@
|
||||
U.S English date display class. Should serve as the base class for all
|
||||
localized tasks.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -21,7 +21,6 @@
|
||||
"""
|
||||
Class handling language-specific selection for date parser and displayer.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -29,8 +29,6 @@ date parsing class. The default base class provides parsing for English.
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import re
|
||||
import calendar
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
"""
|
||||
Date strings to translate per each language for display and parsing.
|
||||
"""
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -23,7 +23,6 @@
|
||||
Deeper testing of some DateParser internals.
|
||||
"""
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
import unittest
|
||||
|
||||
from ...utils.grampslocale import GrampsLocale
|
||||
|
@ -32,7 +32,6 @@ Based on the Check Localized Date Displayer and Parser tool.
|
||||
# standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals, division
|
||||
import unittest
|
||||
|
||||
import sys
|
||||
|
@ -23,7 +23,6 @@
|
||||
Deeper testing of some DateParser internals.
|
||||
"""
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
import unittest
|
||||
|
||||
from ...utils.grampslocale import GrampsLocale
|
||||
|
@ -19,8 +19,6 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import unittest
|
||||
|
||||
from .. import _datestrings
|
||||
|
@ -27,7 +27,6 @@ BSDDBTxn class: Wrapper for BSDDB transaction-oriented methods
|
||||
# BSDDBTxn
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, with_statement
|
||||
|
||||
class BSDDBTxn(object):
|
||||
"""
|
||||
|
@ -20,13 +20,6 @@
|
||||
|
||||
"""Exceptions generated by the Db package."""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Gramps modules
|
||||
|
@ -29,8 +29,6 @@ Read classes for the Gramps databases.
|
||||
# libraries
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, with_statement
|
||||
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
import cPickle as pickle
|
||||
|
@ -18,8 +18,6 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import unittest
|
||||
import tempfile
|
||||
import shutil
|
||||
|
@ -28,8 +28,6 @@ database.
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, with_statement
|
||||
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
import cPickle as pickle
|
||||
|
@ -29,8 +29,6 @@ undos and redos.
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, with_statement
|
||||
|
||||
import time, os
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
|
@ -28,7 +28,6 @@ methods to upgrade a database from version 13 to current version
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import with_statement, unicode_literals
|
||||
import sys
|
||||
import os
|
||||
import re
|
||||
|
@ -30,7 +30,6 @@ This is used since Gramps version 3.0
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, with_statement, unicode_literals
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
import cPickle as pickle
|
||||
|
@ -23,8 +23,6 @@
|
||||
# Standard Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from xml.sax import make_parser, SAXParseException
|
||||
import os
|
||||
import sys
|
||||
|
@ -23,8 +23,6 @@
|
||||
# Standard Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
from xml.sax import handler
|
||||
from ..const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
@ -23,7 +23,6 @@
|
||||
"""
|
||||
Package providing filtering framework for GRAMPS.
|
||||
"""
|
||||
from __future__ import with_statement
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -19,8 +19,6 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
|
@ -23,13 +23,6 @@
|
||||
|
||||
"""Support for dates."""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals, division
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Set up logging
|
||||
|
@ -21,7 +21,7 @@
|
||||
"""
|
||||
Provide calendar to sdn (serial date number) conversion.
|
||||
"""
|
||||
from __future__ import division, print_function
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -23,13 +23,6 @@ Base type for all gramps types.
|
||||
|
||||
"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# GRAMPS modules
|
||||
|
@ -24,7 +24,6 @@
|
||||
"""
|
||||
Person object for Gramps.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -24,7 +24,6 @@
|
||||
"""
|
||||
Place object for Gramps.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
"Handling formatted ('rich text') strings"
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# GRAMPS modules
|
||||
|
@ -28,7 +28,6 @@ Table Object class for Gramps.
|
||||
# standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
import time
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
@ -22,8 +22,6 @@
|
||||
Unittest that tests that part of the merge process that influences other
|
||||
objects than the objects merging.
|
||||
"""
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import unittest
|
||||
import time
|
||||
import os
|
||||
|
@ -24,8 +24,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import types
|
||||
|
||||
|
@ -35,8 +35,6 @@ importers, exporters, quick reports, and document generators.
|
||||
# Standard Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
|
@ -31,7 +31,6 @@ General option handling, including saving and parsing.
|
||||
# Standard Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, unicode_literals
|
||||
import os, io
|
||||
import sys
|
||||
|
||||
|
@ -29,8 +29,6 @@ and a register for the data of all plugins .
|
||||
# Standard Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
|
@ -26,8 +26,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
from ...const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import io
|
||||
|
@ -29,7 +29,6 @@
|
||||
# python modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
import os
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
|
@ -32,7 +32,6 @@ Report option handling, including saving and parsing.
|
||||
# Standard Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
import os, io
|
||||
import copy
|
||||
from xml.sax.saxutils import escape
|
||||
|
@ -25,8 +25,6 @@ Classes for relationships.
|
||||
# python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import logging
|
||||
LOG = logging.getLogger("gen.relationship")
|
||||
|
@ -23,8 +23,6 @@
|
||||
"""
|
||||
Provide a simplified database access interface to the Gramps database.
|
||||
"""
|
||||
from __future__ import with_statement, unicode_literals
|
||||
|
||||
from ..lib import (Person, Family, Event, Source, Place, Citation,
|
||||
MediaObject, Repository, Note, Date, Tag)
|
||||
from ..lib.handle import Handle
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
""" Unittest for constfunc.py """
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import unittest
|
||||
from .. import constfunc
|
||||
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
""" Unittest for user.py """
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import unittest
|
||||
from .. import user
|
||||
|
||||
|
@ -25,7 +25,7 @@ The goal is to have this module not depend on any other gramps module.
|
||||
That way, e.g. database classes can safely depend on that without
|
||||
other Gramps baggage.
|
||||
"""
|
||||
from __future__ import division
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -29,7 +29,6 @@ This package implements access to Gramps configuration.
|
||||
# System imports
|
||||
#
|
||||
#---------------------------------------------------------------
|
||||
from __future__ import print_function, unicode_literals
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
@ -24,8 +24,6 @@
|
||||
Debugging utilities
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Debugging utilities
|
||||
|
@ -25,8 +25,6 @@
|
||||
# python modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
# If you enable unicode_literals, some stuff needs fixing for win+py2, see #7162
|
||||
#from __future__ import print_function, unicode_literals
|
||||
import gettext
|
||||
import sys
|
||||
import os
|
||||
|
@ -27,8 +27,6 @@
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
from ..const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import math
|
||||
|
@ -17,7 +17,6 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
from __future__ import unicode_literals
|
||||
import sys
|
||||
import io
|
||||
import os
|
||||
|
@ -19,8 +19,6 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import unittest
|
||||
import sys
|
||||
|
||||
|
@ -21,8 +21,6 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
#
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Standard python modules
|
||||
|
@ -25,9 +25,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import os
|
||||
import sys
|
||||
import io
|
||||
|
@ -22,13 +22,6 @@
|
||||
Provide autocompletion functionality.
|
||||
"""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# GNOME modules
|
||||
|
@ -27,8 +27,6 @@
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import random
|
||||
import os
|
||||
from xml.sax.saxutils import escape
|
||||
|
@ -45,8 +45,6 @@
|
||||
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# set up logging
|
||||
|
@ -24,8 +24,6 @@
|
||||
# Python classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
|
@ -31,8 +31,6 @@ The DateEditor provides a dialog in which the date can be
|
||||
unambiguously built using UI controls such as menus and spin buttons.
|
||||
"""
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Python modules
|
||||
|
@ -26,8 +26,6 @@
|
||||
# python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.sgettext
|
||||
import logging
|
||||
|
@ -24,8 +24,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
import os
|
||||
import logging
|
||||
|
@ -24,8 +24,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from gi.repository import Gdk
|
||||
from gi.repository import Gtk
|
||||
from gi.repository import GdkPixbuf
|
||||
|
@ -29,8 +29,6 @@ the create/deletion of dialog windows.
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import os
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
|
@ -27,7 +27,6 @@
|
||||
"""
|
||||
Specific option handling for a GUI.
|
||||
"""
|
||||
from __future__ import unicode_literals
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -26,8 +26,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import traceback
|
||||
import os
|
||||
import sys
|
||||
|
@ -29,8 +29,6 @@ This module provides the functions to build the quick report context menu's
|
||||
# python modules
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import sys
|
||||
|
@ -29,8 +29,6 @@ Provide a simplified table creation interface
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
if sys.version_info[0] < 3:
|
||||
import cPickle as pickle
|
||||
|
@ -30,8 +30,6 @@
|
||||
# Standard Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
|
||||
|
@ -27,8 +27,6 @@
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from __future__ import print_function
|
||||
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import logging
|
||||
|
@ -21,8 +21,6 @@
|
||||
|
||||
""" Unittest for user.py """
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import unittest
|
||||
from .. import user
|
||||
from ...gen.test.user_test import TestUser
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user