source: trunk/packages/sipb-xen-database/python/database/__init__.py @ 837

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

get db uri from invirt.config in sipb-database

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