source:
trunk/packages/sipb-xen-database/python/database/__init__.py
@
874
| Last change on this file since 874 was 829, checked in by price, 17 years ago | |
|---|---|
| File size: 165 bytes | |
| Line | |
|---|---|
| 1 | from invirt.config import structs as config |
| 2 | from models import * |
| 3 | |
| 4 | def 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.
