Use less verbose imports for i18n
Change-Id: I969327d239d3df71cbd48bb4dfed0579b1dc9ab8
This commit is contained in:
parent
93b2bbd2cb
commit
bffcb9a1ef
@ -19,9 +19,7 @@ import string
|
||||
import eventlet
|
||||
from ironicclient import exceptions
|
||||
|
||||
from ironic_discoverd.common.i18n import _
|
||||
from ironic_discoverd.common.i18n import _LI
|
||||
from ironic_discoverd.common.i18n import _LW
|
||||
from ironic_discoverd.common.i18n import _, _LI, _LW
|
||||
from ironic_discoverd import conf
|
||||
from ironic_discoverd import firewall
|
||||
from ironic_discoverd import node_cache
|
||||
|
@ -23,9 +23,7 @@ import sys
|
||||
import flask
|
||||
from keystoneclient import exceptions
|
||||
|
||||
from ironic_discoverd.common.i18n import _
|
||||
from ironic_discoverd.common.i18n import _LE
|
||||
from ironic_discoverd.common.i18n import _LW
|
||||
from ironic_discoverd.common.i18n import _, _LE, _LW
|
||||
from ironic_discoverd import conf
|
||||
from ironic_discoverd import firewall
|
||||
from ironic_discoverd import introspect
|
||||
|
@ -21,9 +21,7 @@ import sqlite3
|
||||
import sys
|
||||
import time
|
||||
|
||||
from ironic_discoverd.common.i18n import _
|
||||
from ironic_discoverd.common.i18n import _LC
|
||||
from ironic_discoverd.common.i18n import _LE
|
||||
from ironic_discoverd.common.i18n import _, _LC, _LE
|
||||
from ironic_discoverd import conf
|
||||
from ironic_discoverd import utils
|
||||
|
||||
|
@ -22,8 +22,7 @@ import logging
|
||||
from hardware import matcher
|
||||
from hardware import state
|
||||
|
||||
from ironic_discoverd.common.i18n import _
|
||||
from ironic_discoverd.common.i18n import _LW
|
||||
from ironic_discoverd.common.i18n import _, _LW
|
||||
from ironic_discoverd import conf
|
||||
from ironic_discoverd.plugins import base
|
||||
from ironic_discoverd import utils
|
||||
|
@ -15,8 +15,7 @@
|
||||
|
||||
import logging
|
||||
|
||||
from ironic_discoverd.common.i18n import _LI
|
||||
from ironic_discoverd.common.i18n import _LW
|
||||
from ironic_discoverd.common.i18n import _LI, _LW
|
||||
from ironic_discoverd.plugins import base
|
||||
|
||||
|
||||
|
@ -15,9 +15,7 @@
|
||||
|
||||
import logging
|
||||
|
||||
from ironic_discoverd.common.i18n import _
|
||||
from ironic_discoverd.common.i18n import _LI
|
||||
from ironic_discoverd.common.i18n import _LW
|
||||
from ironic_discoverd.common.i18n import _, _LI, _LW
|
||||
from ironic_discoverd import conf
|
||||
from ironic_discoverd.plugins import base
|
||||
from ironic_discoverd import utils
|
||||
|
@ -19,9 +19,7 @@ import time
|
||||
import eventlet
|
||||
from ironicclient import exceptions
|
||||
|
||||
from ironic_discoverd.common.i18n import _
|
||||
from ironic_discoverd.common.i18n import _LI
|
||||
from ironic_discoverd.common.i18n import _LW
|
||||
from ironic_discoverd.common.i18n import _, _LI, _LW
|
||||
from ironic_discoverd import conf
|
||||
from ironic_discoverd import firewall
|
||||
from ironic_discoverd import node_cache
|
||||
|
Loading…
Reference in New Issue
Block a user