Changeset 829 for trunk/packages/sipb-xen-database/python
- Timestamp:
- Aug 3, 2008, 12:29:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/python/database/__init__.py
r77 r829 1 from invirt.config import structs as config 1 2 from models import * 2 3 3 def connect(uri ):4 def connect(uri = config.db.uri): 4 5 """ Connect to a given database URI""" 5 6 meta.connect(uri)
Note: See TracChangeset
for help on using the changeset viewer.