All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] remove unused code in XendRoot.py
@ 2005-06-01 17:32 aq
  0 siblings, 0 replies; only message in thread
From: aq @ 2005-06-01 17:32 UTC (permalink / raw)
  To: Xen Dev

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

XendRoot.py::get_config method is not used in -unstable (as of
cset@1.1623), so this patch removes it.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com

$ diffstat xendroot_getconfig.patch 
 XendRoot.py |   13 -------------
 1 files changed, 13 deletions(-)

[-- Attachment #2: xendroot_getconfig.patch --]
[-- Type: text/plain, Size: 855 bytes --]

===== tools/python/xen/xend/XendRoot.py 1.25 vs edited =====
--- 1.25/tools/python/xen/xend/XendRoot.py	2005-05-31 22:35:30 +09:00
+++ edited/tools/python/xen/xend/XendRoot.py	2005-06-02 02:25:12 +09:00
@@ -217,19 +217,6 @@
             self.logError('Config file does not exist: %s', self.config_path)
             self.config = ['xend-config']
 
-    def get_config(self, name=None):
-        """Get the configuration element with the given name, or
-        the whole configuration if no name is given.
-
-        @param name: element name (optional)
-        @return: config or none
-        """
-        if name is None:
-            val = self.config
-        else:
-            val = sxp.child(self.config, name)
-        return val
-
     def get_config_value(self, name, val=None):
         """Get the value of an atomic configuration element.
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-01 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-01 17:32 [PATCH] remove unused code in XendRoot.py aq

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.