neaten imports

This commit is contained in:
Paul Franklin 2015-02-04 18:14:37 -08:00
parent c1ef48d6d2
commit 4a1022bad3

View File

@ -17,21 +17,16 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# 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.
#
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
# python modules # python modules
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
from __future__ import print_function from __future__ import print_function
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
from xml.parsers import expat from xml.parsers import expat
from gramps.gen.lib.gcalendar import (gregorian_ymd, hebrew_sdn)
import datetime import datetime
import math import math
from gramps.gen.const import PLUGINS_DIR, USER_PLUGINS
import os import os
import sys import sys
@ -40,7 +35,11 @@ import sys
# GRAMPS modules # GRAMPS modules
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
from gramps.gen.const import GRAMPS_LOCALE as glocale
_ = glocale.translation.gettext
from gramps.gen.const import PLUGINS_DIR, USER_PLUGINS
from gramps.gen.constfunc import STRTYPE from gramps.gen.constfunc import STRTYPE
from gramps.gen.lib.gcalendar import (gregorian_ymd, hebrew_sdn)
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #