delete unused LOG in some files
remove unused log in config_helper.py,base.py network.py,procutils.py and wsgi.py Change-Id: Ib035a800d6ae151fbd42dba38fad57a46cf9f52d
This commit is contained in:
parent
b4ee9bf5e1
commit
75053af950
@ -14,7 +14,6 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
from sahara import conductor as c
|
from sahara import conductor as c
|
||||||
from sahara import exceptions as ex
|
from sahara import exceptions as ex
|
||||||
@ -22,7 +21,6 @@ from sahara.i18n import _
|
|||||||
|
|
||||||
|
|
||||||
conductor = c.API
|
conductor = c.API
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,9 +14,7 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,13 +19,10 @@ import sys
|
|||||||
|
|
||||||
from eventlet.green import subprocess
|
from eventlet.green import subprocess
|
||||||
from eventlet import timeout as e_timeout
|
from eventlet import timeout as e_timeout
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
from sahara import context
|
from sahara import context
|
||||||
from sahara import exceptions
|
from sahara import exceptions
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def _get_sub_executable():
|
def _get_sub_executable():
|
||||||
return '%s/_sahara-subprocess' % os.path.dirname(sys.argv[0])
|
return '%s/_sahara-subprocess' % os.path.dirname(sys.argv[0])
|
||||||
|
@ -21,15 +21,12 @@
|
|||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
|
||||||
from oslo_serialization import jsonutils
|
from oslo_serialization import jsonutils
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from sahara import exceptions
|
from sahara import exceptions
|
||||||
from sahara.i18n import _
|
from sahara.i18n import _
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user