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