ia64/xen-unstable

changeset 12080:db33b52f603e

[XEND] Minor code formatting changes to XendRoot.py

Signed-off-by: Alastair Tse <atse@xensource.com>
author acnt2@huggins.lce.cl.cam.ac.uk
date Thu Oct 05 17:29:19 2006 +0100 (2006-10-05)
parents 32d074ff02ee
children ddcf2632f448
files tools/python/xen/xend/XendRoot.py
line diff
     1.1 --- a/tools/python/xen/xend/XendRoot.py	Thu Oct 05 17:29:19 2006 +0100
     1.2 +++ b/tools/python/xen/xend/XendRoot.py	Thu Oct 05 17:29:19 2006 +0100
     1.3 @@ -190,15 +190,18 @@ class XendRoot:
     1.4          return self.get_config_bool("xend-http-server", self.xend_http_server_default)
     1.5  
     1.6      def get_xend_tcp_xmlrpc_server(self):
     1.7 -        return self.get_config_bool("xend-tcp-xmlrpc-server", self.xend_tcp_xmlrpc_server_default)
     1.8 +        return self.get_config_bool("xend-tcp-xmlrpc-server",
     1.9 +                                    self.xend_tcp_xmlrpc_server_default)
    1.10  
    1.11      def get_xend_unix_xmlrpc_server(self):
    1.12 -        return self.get_config_bool("xend-unix-xmlrpc-server", self.xend_unix_xmlrpc_server_default)
    1.13 +        return self.get_config_bool("xend-unix-xmlrpc-server",
    1.14 +                                    self.xend_unix_xmlrpc_server_default)
    1.15  
    1.16      def get_xend_relocation_server(self):
    1.17          """Get the flag indicating whether xend should run a relocation server.
    1.18          """
    1.19 -        return self.get_config_bool("xend-relocation-server", self.xend_relocation_server_default)
    1.20 +        return self.get_config_bool("xend-relocation-server",
    1.21 +                                    self.xend_relocation_server_default)
    1.22  
    1.23      def get_xend_port(self):
    1.24          """Get the port xend listens at for its HTTP interface.
    1.25 @@ -208,7 +211,8 @@ class XendRoot:
    1.26      def get_xend_relocation_port(self):
    1.27          """Get the port xend listens at for connection to its relocation server.
    1.28          """
    1.29 -        return self.get_config_int('xend-relocation-port', self.xend_relocation_port_default)
    1.30 +        return self.get_config_int('xend-relocation-port',
    1.31 +                                   self.xend_relocation_port_default)
    1.32  
    1.33      def get_xend_relocation_hosts_allow(self):
    1.34          return self.get_config_value("xend-relocation-hosts-allow",