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