Commit f431cc16 authored by Jim Fulton's avatar Jim Fulton

Added the ability to specify arguments to DB.DB.

parent 93bc5c28
...@@ -22,8 +22,8 @@ import transaction ...@@ -22,8 +22,8 @@ import transaction
from ZODB.MappingStorage import MappingStorage from ZODB.MappingStorage import MappingStorage
from ZODB.DB import DB as _DB from ZODB.DB import DB as _DB
def DB(name='Test'): def DB(name='Test', **dbargs):
return _DB(MappingStorage(name)) return _DB(MappingStorage(name), **dbargs)
def commit(): def commit():
transaction.commit() transaction.commit()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment