ia64/xen-unstable

changeset 7003:82bc05411d85

Remove unused DEBUG variable, and -d flag.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Wed Sep 21 11:31:55 2005 +0100 (2005-09-21)
parents 2eee9f6487ff
children a498dab0beef
files tools/python/xen/xend/XendClient.py
line diff
     1.1 --- a/tools/python/xen/xend/XendClient.py	Wed Sep 21 11:30:59 2005 +0100
     1.2 +++ b/tools/python/xen/xend/XendClient.py	Wed Sep 21 11:31:55 2005 +0100
     1.3 @@ -33,8 +33,6 @@ from XendProtocol import HttpXendClientP
     1.4                           UnixXendClientProtocol, \
     1.5                           XendError
     1.6  
     1.7 -DEBUG = 0
     1.8 -
     1.9  def fileof(val):
    1.10      """Converter for passing configs or other 'large' data.
    1.11      Handles lists, files directly.
    1.12 @@ -385,7 +383,6 @@ python XendClient.py domains
    1.13  python XendClient.py domain 0
    1.14      (domain (id 0) (name Domain-0) (memory 128))
    1.15      """
    1.16 -    global DEBUG
    1.17      from getopt import getopt
    1.18      short_options = 'x:au:d'
    1.19      long_options = ['xend=', 'unix=', 'debug']
    1.20 @@ -397,8 +394,6 @@ python XendClient.py domain 0
    1.21              srv = v
    1.22          elif k in ['-u', '--unix']:
    1.23              unix = int(v)
    1.24 -        elif k in ['-d', '--debug']:
    1.25 -            DEBUG = 1
    1.26      if len(args):
    1.27          fn = args[0]
    1.28          args = args[1:]