source: package_tags/sipb-xen-database/10.16/python/database/__init__.py @ 2490

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

get db uri from invirt.config in sipb-database

File size: 165 bytes
Line 
1from invirt.config import structs as config
2from models import *
3
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.