All of lore.kernel.org
 help / color / mirror / Atom feed
From: aq <aquynh@gmail.com>
To: Xen Dev <xen-devel@lists.xensource.com>
Subject: [PATCH] remove unused code in XendRoot.py
Date: Thu, 2 Jun 2005 02:32:30 +0900	[thread overview]
Message-ID: <9cde8bff05060110325fdbf407@mail.gmail.com> (raw)

[-- 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

                 reply	other threads:[~2005-06-01 17:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9cde8bff05060110325fdbf407@mail.gmail.com \
    --to=aquynh@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.