summaryrefslogtreecommitdiffstats
path: root/nova/notifications.py
diff options
context:
space:
mode:
authorArata Notsu <notsu@virtualtech.jp>2012-10-22 19:29:47 +0900
committerGerrit Code Review <review@openstack.org>2012-10-31 15:00:01 +0000
commit1a311c484c0ad630d3361a819e6bda1b87d88e61 (patch)
tree7a09d08b3fa23fb967cdd28ea7011eb11714dc16 /nova/notifications.py
parent7d5b69ee77a2028cfe64629ceb4d605b6bef0ec5 (diff)
downloadnova-1a311c484c0ad630d3361a819e6bda1b87d88e61.tar.gz
nova-1a311c484c0ad630d3361a819e6bda1b87d88e61.tar.xz
nova-1a311c484c0ad630d3361a819e6bda1b87d88e61.zip
Make session.py reusable
This patch get_engine() into a creation part (create_session()) and a singletonization part (get_session()). create_session() can be used from code that connects to a DB other than nova-DB. Change-Id: Ia4ee4336871f22cfcdb67a0417fcfb76d78b6fa3
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions