Commit fc3e142c authored by Jim Fulton's avatar Jim Fulton

Added the ability to specify arguments to DB.DB.

parent 7fd71894
......@@ -22,8 +22,8 @@ import transaction
from ZODB.MappingStorage import MappingStorage
from ZODB.DB import DB as _DB
def DB(name='Test'):
return _DB(MappingStorage(name))
def DB(name='Test', **dbargs):
return _DB(MappingStorage(name), **dbargs)
def 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