Removed useless code from __init__ method

This code is not needed in production code

Change-Id: Ic1e8e94671070a9dea7c50ea914fe4864210c6c1
This commit is contained in:
Alexei Kornienko
2014-04-09 16:31:31 +03:00
parent 5fe77a175d
commit 5b80e0998d

View File

@@ -242,11 +242,6 @@ class Connection(base.Connection):
def __init__(self, conf):
super(Connection, self).__init__(conf, AVAILABLE_CAPABILITIES)
url = conf.database.connection
if url == 'sqlite://':
conf.database.connection = \
os.environ.get('CEILOMETER_TEST_SQL_URL', url)
self._engine_facade = sqlalchemy_session.EngineFacade.from_config(
conf.database.connection, cfg.CONF)