[svn] commit: r575 - /branches/parkinglot/src/lib/bindctl/moduleinfo.py

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jan 28 00:08:25 UTC 2010


Author: zhanglikun
Date: Thu Jan 28 00:08:24 2010
New Revision: 575

Log:
Remove unused functions.

Modified:
    branches/parkinglot/src/lib/bindctl/moduleinfo.py

Modified: branches/parkinglot/src/lib/bindctl/moduleinfo.py
==============================================================================
--- branches/parkinglot/src/lib/bindctl/moduleinfo.py (original)
+++ branches/parkinglot/src/lib/bindctl/moduleinfo.py Thu Jan 28 00:08:24 2010
@@ -29,12 +29,6 @@
     
     def __str__(self):        
         return str("\t%s <type: %s> \t(%s)" % (self.name, self.type, self.desc))
-
-    def write_xml(xmldoc, name, value):
-        node = xmldoc.createElement(PARAM_NODE_NAME)
-        node.setAttribute('name', name)
-        node.setAttribute('value', value)                             
-        return node
 
 class CommandInfo:
     """One command which provide by one bind10 module, it has zero or 
@@ -128,13 +122,6 @@
     def need_instance_param(self):
         return self.need_inst_param
 
-    
-    def write_xml(self, xmldoc, command_name):
-        node = xmldoc.createElement(COMMAND_NODE_NAME)
-        node.setAttribute('name', command_name)
-        return node 
-        
-
     def command_help(self, inst_name, inst_type, inst_desc):
         print("Command ", self)
         print("\t\thelp (Get help for command)")
@@ -224,9 +211,4 @@
                                             self.inst_type,
                                             self.inst_desc)
     
-    def write_xml(self, xmldoc, module_name):
-        node = xmldoc.createElement(MODULE_NODE_NAME)
-        node.setAttribute('name', module_name)
-        return node
-    
-
+




More information about the bind10-changes mailing list