backport typo fix
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 11 Mar 2009 16:28:49 +0100
changeset 1079 452cb76fe07a
parent 1078 f6aaab4d51e3
child 1080 7437abc17e02
backport typo fix
server/sources/native.py
web/views/tabs.py
--- a/server/sources/native.py	Wed Mar 11 14:36:26 2009 +0100
+++ b/server/sources/native.py	Wed Mar 11 16:28:49 2009 +0100
@@ -451,7 +451,7 @@
         try:
             res = session.system_sql(sql).fetchone()
         except:
-            assert self.pool, 'session has no pool set'
+            assert session.pool, 'session has no pool set'
             raise UnknownEid(eid)
         if res is None:
             raise UnknownEid(eid)
--- a/web/views/tabs.py	Wed Mar 11 14:36:26 2009 +0100
+++ b/web/views/tabs.py	Wed Mar 11 16:28:49 2009 +0100
@@ -66,6 +66,8 @@
 
 
 class TabsMixin(LazyViewMixin):
+    """a tab mixin
+    """
 
     @property
     def cookie_name(self):