Author: justi9
Date: 2010-01-29 17:35:19 -0500 (Fri, 29 Jan 2010)
New Revision: 3834
Modified:
mgmt/trunk/cumin/python/cumin/grid/limit.py
Log:
There are no limits to list if there is no negotiator
Modified: mgmt/trunk/cumin/python/cumin/grid/limit.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/grid/limit.py 2010-01-29 22:04:51 UTC (rev 3833)
+++ mgmt/trunk/cumin/python/cumin/grid/limit.py 2010-01-29 22:35:19 UTC (rev 3834)
@@ -24,6 +24,9 @@
def get_items(self, session):
negotiator = self.negotiator.get(session)
+ if not negotiator:
+ return
+
limits = self.app.model.get_negotiator_limits(negotiator)
if limits is None:
Show replies by date