Remove some imports of locale where nothing it exports was used.
svn: r22026
This commit is contained in:
@ -30,12 +30,9 @@ Geography for events
|
||||
# Python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
import os
|
||||
import sys
|
||||
import operator
|
||||
import locale
|
||||
from gi.repository import Gdk
|
||||
KEY_TAB = Gdk.KEY_Tab
|
||||
import socket
|
||||
@ -54,6 +51,8 @@ _LOG = logging.getLogger("GeoGraphy.geoevents")
|
||||
# Gramps Modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
from gramps.gen.const import GRAMPS_LOCALE as glocale
|
||||
_ = glocale.translation.gettext
|
||||
from gramps.gen.lib import EventType
|
||||
from gramps.gen.config import config
|
||||
from gramps.gen.datehandler import displayer
|
||||
|
Reference in New Issue
Block a user