hooks/__init__.py
changeset 7398 26695dd703d8
parent 6988 2f4a7d1e15b3
child 7456 c54038622fc9
--- a/hooks/__init__.py	Thu May 19 10:36:26 2011 +0200
+++ b/hooks/__init__.py	Thu May 19 10:53:11 2011 +0200
@@ -67,7 +67,7 @@
                     except Exception, exc:
                         session.exception('while trying to update feed %s', source)
                         session.rollback()
-                    session.set_pool()
+                    session.set_cnxset()
             finally:
                 session.close()
         self.repo.looping_task(60, update_feeds, self.repo)