Merge "Consume _ from local _1i8n"

This commit is contained in:
Jenkins 2016-01-29 15:50:37 +00:00 committed by Gerrit Code Review
commit 84c2dceb2a
12 changed files with 14 additions and 5 deletions

View File

@ -22,6 +22,7 @@ from neutron.db import models_v2
from neutron import manager
from neutron.plugins.common import constants as nconstants
from neutron_vpnaas._i18n import _
from neutron_vpnaas.extensions import vpnaas
from neutron_vpnaas.services.vpn.common import constants

View File

@ -24,6 +24,8 @@ from neutron.common import exceptions as nexception
from neutron.plugins.common import constants as nconstants
from neutron.services import service_base
from neutron_vpnaas._i18n import _
class VPNServiceNotFound(nexception.NotFound):
message = _("VPNService %(vpnservice_id)s could not be found")

View File

@ -18,6 +18,7 @@ from neutron.agent.l3 import agent as l3_agent
from neutron.agent import l3_agent as entry
from oslo_config import cfg
from neutron_vpnaas._i18n import _
from neutron_vpnaas.services.vpn import vpn_service
vpn_agent_opts = [

View File

@ -25,7 +25,7 @@ from oslo_log import log as logging
from oslo_rootwrap import wrapper
import six
from neutron_vpnaas._i18n import _LE, _LI
from neutron_vpnaas._i18n import _, _LE, _LI
if six.PY3:
import configparser as ConfigParser

View File

@ -26,7 +26,7 @@ from oslo_log import log as logging
import oslo_messaging
from oslo_service import loopingcall
from neutron_vpnaas._i18n import _LE, _LI, _LW
from neutron_vpnaas._i18n import _, _LE, _LI, _LW
from neutron_vpnaas.services.vpn.common import topics
from neutron_vpnaas.services.vpn import device_drivers
from neutron_vpnaas.services.vpn.device_drivers import (

View File

@ -36,7 +36,7 @@ from oslo_log import log as logging
import oslo_messaging
from oslo_service import loopingcall
from neutron_vpnaas._i18n import _LE, _LI, _LW
from neutron_vpnaas._i18n import _, _LE, _LI, _LW
from neutron_vpnaas.extensions import vpnaas
from neutron_vpnaas.services.vpn.common import topics
from neutron_vpnaas.services.vpn import device_drivers

View File

@ -20,6 +20,8 @@ from oslo_config import cfg
from neutron.agent.linux import ip_lib
from neutron.plugins.common import constants
from neutron_vpnaas._i18n import _
from neutron_vpnaas.services.vpn.device_drivers import ipsec
TEMPLATE_PATH = os.path.dirname(os.path.abspath(__file__))

View File

@ -28,7 +28,7 @@ from oslo_service import loopingcall
from oslo_service import periodic_task
import six
from neutron_vpnaas._i18n import _LE, _LW
from neutron_vpnaas._i18n import _, _LE, _LW
from neutron_vpnaas.services.vpn.common import topics
from neutron_vpnaas.services.vpn import device_drivers

View File

@ -19,7 +19,7 @@ from oslo_log import log as logging
import sqlalchemy as sa
from sqlalchemy.orm import exc as sql_exc
from neutron_vpnaas._i18n import _LI
from neutron_vpnaas._i18n import _, _LI
from neutron_vpnaas.db.vpn import vpn_models
LOG = logging.getLogger(__name__)

View File

@ -17,6 +17,7 @@ from netaddr import core as net_exc
from neutron.common import exceptions
from oslo_log import log as logging
from neutron_vpnaas._i18n import _
from neutron_vpnaas.db.vpn import vpn_validator

View File

@ -14,6 +14,7 @@
from neutron.common import exceptions
from neutron_vpnaas._i18n import _
from neutron_vpnaas.db.vpn import vpn_validator

View File

@ -18,6 +18,7 @@ from networking_brocade.vyatta.common import l3_agent as vyatta_l3
from neutron.agent import l3_agent as entry
from oslo_config import cfg
from neutron_vpnaas._i18n import _
from neutron_vpnaas.services.vpn import vyatta_vpn_service