[manage view] fix skipping of startup views
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 10 Feb 2011 13:26:41 +0100
changeset 6971 33afb8748052
parent 6970 a6ccbfbacf3d
child 6972 12aa5cd81ce5
[manage view] fix skipping of startup views
web/views/startup.py
--- a/web/views/startup.py	Thu Feb 10 12:28:31 2011 +0100
+++ b/web/views/startup.py	Thu Feb 10 13:26:41 2011 +0100
@@ -64,7 +64,7 @@
     def startup_views(self):
         views = [v for v in self._cw.vreg['views'].possible_views(self._cw, None)
                  if v.category == 'startupview'
-                 or v.__regid__ not in self.skip_startup_views]
+                 and v.__regid__ not in self.skip_startup_views]
         if not views:
             return
         self.w(u'<div class="hr">&#160;</div>')