Minor refactoring in shell.py

This commit is contained in:
Alessandro Pilotti 2013-10-07 20:53:05 +03:00
parent e5c1c548e4
commit ca2878eb8d

View File

@ -18,14 +18,14 @@ import sys
from cloudbaseinit import init
from cloudbaseinit.openstack.common import cfg
from cloudbaseinit.openstack.common import log as logging2
from cloudbaseinit.openstack.common import log as logging
CONF = cfg.CONF
LOG = logging2.getLogger(__name__)
LOG = logging.getLogger(__name__)
def main():
CONF(sys.argv[1:])
logging2.setup('cloudbaseinit')
logging.setup('cloudbaseinit')
init.InitManager().configure_host()