- Timestamp:
- Oct 1, 2008, 7:48:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/python/database/__init__.py
r946 r991 5 5 def connect(uri = config.db.uri): 6 6 """ Connect to a given database URI""" 7 meta.bind = sqlalchemy.create_engine(uri) 7 engine = sqlalchemy.create_engine(uri) 8 meta.bind = engine 9 session.configure(bind=engine)
Note: See TracChangeset
for help on using the changeset viewer.