source: trunk/packages/sipb-xen-database/python/database/ @ 829

Last change on this file since 829 was 829, checked in by price, 16 years ago

get db uri from invirt.config in sipb-database

File size: 165 bytes
1from invirt.config import structs as config
2from models import *
4def connect(uri = config.db.uri):
5    """ Connect to a given database URI"""
6    meta.connect(uri)
Note: See TracBrowser for help on using the repository browser.