From 4a12145ee10de19645f3baa628ce718069dfda99 Mon Sep 17 00:00:00 2001 From: Endre Karlson Date: Mon, 26 Nov 2012 21:01:49 +0100 Subject: [PATCH] Move out session from the sqlalchemy impl to a more re-usable place Change-Id: Ibed2812202e8ea82789c23e208fd3ee9f9c950ef --- moniker/sqlalchemy/__init__.py | 0 moniker/{storage/impl_sqlalchemy => sqlalchemy}/session.py | 0 moniker/storage/impl_sqlalchemy/__init__.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 moniker/sqlalchemy/__init__.py rename moniker/{storage/impl_sqlalchemy => sqlalchemy}/session.py (100%) diff --git a/moniker/sqlalchemy/__init__.py b/moniker/sqlalchemy/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/moniker/storage/impl_sqlalchemy/session.py b/moniker/sqlalchemy/session.py similarity index 100% rename from moniker/storage/impl_sqlalchemy/session.py rename to moniker/sqlalchemy/session.py diff --git a/moniker/storage/impl_sqlalchemy/__init__.py b/moniker/storage/impl_sqlalchemy/__init__.py index a1e2ba0a8..f95df57de 100644 --- a/moniker/storage/impl_sqlalchemy/__init__.py +++ b/moniker/storage/impl_sqlalchemy/__init__.py @@ -19,7 +19,7 @@ from moniker.openstack.common import log as logging from moniker import exceptions from moniker.storage import base from moniker.storage.impl_sqlalchemy import models -from moniker.storage.impl_sqlalchemy.session import get_session +from moniker.sqlalchemy.session import get_session LOG = logging.getLogger(__name__)