iro/model/utils.py
branchdevel
changeset 262 212a69cc4d44
parent 261 6b28b135a919
child 294 0e75bd39767d
--- 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