--- a/doc/iro.model.rst Thu Mar 29 17:28:13 2012 +0200
+++ b/doc/iro.model.rst Thu Mar 29 17:33:10 2012 +0200
@@ -65,14 +65,6 @@
:undoc-members:
:show-inheritance:
-:mod:`session` Module
----------------------
-
-.. automodule:: iro.model.session
- :members:
- :undoc-members:
- :show-inheritance:
-
:mod:`status` Module
--------------------
--- a/iro/model/utils.py Thu Mar 29 17:28:13 2012 +0200
+++ b/iro/model/utils.py Thu Mar 29 17:33:10 2012 +0200
@@ -8,12 +8,13 @@
:param boolean autocommit: autocommit after running the function.
.. automethod:: __enter__
+ .. automethod:: __exit__
"""
self.engine = engine
self.autocommit=autocommit
def __enter__(self):
- """returns a vaild session object"""
+ """returns a vaild session object."""
self.session = sessionmaker(bind=self.engine)()
return self.session