Author: eallen
Date: 2008-10-08 09:28:37 -0400 (Wed, 08 Oct 2008)
New Revision: 2605
Modified:
mgmt/trunk/cumin/python/cumin/__init__.py
mgmt/trunk/cumin/python/cumin/limits.py
mgmt/trunk/cumin/python/cumin/model.py
Log:
Rename data.xml to call.xml
Modified: mgmt/trunk/cumin/python/cumin/__init__.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/__init__.py 2008-10-08 13:23:08 UTC (rev 2604)
+++ mgmt/trunk/cumin/python/cumin/__init__.py 2008-10-08 13:28:37 UTC (rev 2605)
@@ -11,8 +11,7 @@
from time import sleep
from threading import Thread, Event
from urllib import quote
-
-from model import CuminModel, ModelPage, DataPage
+from model import CuminModel, ModelPage, CallPage
from demo import DemoData
from page import MainPage
from stat import StatChartPage
@@ -51,7 +50,7 @@
self.add_page(DevelPage(self, "devel.html"))
self.add_page(ModelPage(self, "model.xml"))
- self.add_page(DataPage(self, "data.xml"))
+ self.add_page(CallPage(self, "call.xml"))
self.add_page(ActionPage(self, "actions.html"))
self.add_page(StatChartPage(self, "stats.png"))
Modified: mgmt/trunk/cumin/python/cumin/limits.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/limits.py 2008-10-08 13:23:08 UTC (rev 2604)
+++ mgmt/trunk/cumin/python/cumin/limits.py 2008-10-08 13:28:37 UTC (rev 2605)
@@ -96,7 +96,7 @@
def get_url(self, session):
negotiator = self.parent.get_negotiator(session)
if negotiator:
- return "data.xml?class=negotiator;id=%i;method=GetLimitCount" %
negotiator.id
+ return "call.xml?class=negotiator;id=%i;method=GetLimitCount" %
negotiator.id
def get_title(self, session, title):
return "%s <span id=\"%s\">%s</span>" % \
Modified: mgmt/trunk/cumin/python/cumin/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/model.py 2008-10-08 13:23:08 UTC (rev 2604)
+++ mgmt/trunk/cumin/python/cumin/model.py 2008-10-08 13:28:37 UTC (rev 2605)
@@ -2273,9 +2273,9 @@
return writer.to_string()
-class DataPage(Page):
+class CallPage(Page):
def __init__(self, app, name):
- super(DataPage, self).__init__(app, name)
+ super(CallPage, self).__init__(app, name)
self.__class = CuminClassParameter(app, "class")
self.add_parameter(self.__class)