ia64/xen-unstable

changeset 6932:10d2067f6016

Removed unused impotr and marked some parameters as unused.

Signed-off-by: Ewan Mellor<ewan@xensource.com>
author emellor@ewan
date Sat Sep 17 10:42:49 2005 +0100 (2005-09-17)
parents 91f974f7ce97
children cc5d8878fc36
files tools/python/xen/xend/server/SrvNode.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvNode.py	Sat Sep 17 10:33:50 2005 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvNode.py	Sat Sep 17 10:42:49 2005 +0100
     1.3 @@ -15,7 +15,6 @@
     1.4  # Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
     1.5  #============================================================================
     1.6  
     1.7 -import os
     1.8  
     1.9  from xen.web.SrvDir import SrvDir
    1.10  from xen.xend import sxp
    1.11 @@ -32,15 +31,15 @@ class SrvNode(SrvDir):
    1.12          self.add('dmesg', 'SrvDmesg')
    1.13          self.add('log', 'SrvXendLog')
    1.14  
    1.15 -    def op_shutdown(self, op, req):
    1.16 +    def op_shutdown(self, _1, _2):
    1.17          val = self.xn.shutdown()
    1.18          return val
    1.19  
    1.20 -    def op_reboot(self, op, req):
    1.21 +    def op_reboot(self, _1, _2):
    1.22          val = self.xn.reboot()
    1.23          return val
    1.24  
    1.25 -    def op_cpu_bvt_slice_set(self, op, req):
    1.26 +    def op_cpu_bvt_slice_set(self, _, req):
    1.27          fn = FormFn(self.xn.cpu_bvt_slice_set,
    1.28                      [['ctx_allow', 'int']])
    1.29          val = fn(req.args, {})