ia64/xen-unstable

changeset 7087:46046d5fb354

Remove unused import, mark unused variables.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Tue Sep 27 22:09:46 2005 +0100 (2005-09-27)
parents 8fe341229827
children 1e288a9316fd 868b8c599dfb
files tools/python/xen/xend/server/SrvDmesg.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDmesg.py	Tue Sep 27 22:09:12 2005 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvDmesg.py	Tue Sep 27 22:09:46 2005 +0100
     1.3 @@ -13,15 +13,15 @@
     1.4  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     1.5  #============================================================================
     1.6  # Copyright (C) 2004, 2005 Mike Wray <mike.wray@hp.com>
     1.7 +# Copyright (C) 2005 XenSource Ltd
     1.8  #============================================================================
     1.9  
    1.10 -import os
    1.11  
    1.12 -from xen.xend import sxp
    1.13  from xen.xend import XendDmesg
    1.14  
    1.15  from xen.web.SrvDir import SrvDir
    1.16  
    1.17 +
    1.18  class SrvDmesg(SrvDir):
    1.19      """Xen Dmesg output.
    1.20      """
    1.21 @@ -47,6 +47,6 @@ class SrvDmesg(SrvDir):
    1.22      def info(self):
    1.23          return self.xd.info()
    1.24  
    1.25 -    def op_clear(self, op, req):
    1.26 +    def op_clear(self, _1, _2):
    1.27          self.xd.clear()
    1.28          return 0