malthe/dobbin — pull request #1 by buberzionist (2012-05-01 18:44:30+00:00)
Title: Added 'import transaction' to readme.txt

The documentation doesn't work in Python 2.7 on OSX unless one precedes 'transaction.commit()' with 'import.transaction'

>>> from dobbin.database import Database
>>> jar = Database('data.fs')
>>> jar.elect(foo)
>>> transaction.commit()
Traceback (most recent call last):
File "", line 1, in
NameError: name 'transaction' is not defined
>>> import transaction
>>> transaction.commit()
>>>