Author: eallen
Date: 2008-10-08 09:23:08 -0400 (Wed, 08 Oct 2008)
New Revision: 2604
Modified:
mgmt/trunk/cumin/python/cumin/limits.py
Log:
Removed old limit_count method in favor of new AjaxField object
Modified: mgmt/trunk/cumin/python/cumin/limits.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/limits.py 2008-10-07 22:20:45 UTC (rev 2603)
+++ mgmt/trunk/cumin/python/cumin/limits.py 2008-10-08 13:23:08 UTC (rev 2604)
@@ -92,13 +92,6 @@
def render_title(self, session):
return self.limit_count.get_title(session, "Concurrency Limits")
- def limit_count(self, session):
- limits = self.limits.get(session)
- if not limits:
- limits = self.fetch_limits(session)
- self.limits.set(session, limits)
- return limits and len(limits) or 0
-
class LimitCount(AjaxField):
def get_url(self, session):
negotiator = self.parent.get_negotiator(session)