]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2298] modify the xsd_handler() method
authorNaoki Kambe <kambe@jprs.co.jp>
Fri, 26 Oct 2012 09:58:09 +0000 (18:58 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Fri, 26 Oct 2012 11:36:26 +0000 (20:36 +0900)
do not accept any arguments due to unnecessity

src/bin/stats/stats_httpd.py.in

index a01cfd52431fd512f398443d178e9358dad0a197..3e3e15db28e33e9160d3e9eca4543c479ab480ac 100644 (file)
@@ -535,7 +535,7 @@ class StatsHttpd:
             xml_string=xml_string, xsl_url_path=XSL_URL_PATH)
         return self.xml_body
 
-    def xsd_handler(self, module_name=None, item_name=None):
+    def xsd_handler(self):
         """Loads the XSD template file, replaces the variable strings,
         and returns the string of the XSD document."""
         self.xsd_body = self.open_template(XSD_TEMPLATE_LOCATION).substitute(