Remove unused DEBUG variable, and -d flag.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@ewan committed 2005-09-21 11:31:55 +01:00
1 parent efa1534b26
commit 0c41a8f422
1 file changed
-5
-5
View File
@@ -33,8 +33,6 @@ from XendProtocol import HttpXendClientProtocol, \
UnixXendClientProtocol, \
XendError
DEBUG = 0
def fileof(val):
"""Converter for passing configs or other 'large' data.
Handles lists, files directly.
@@ -385,7 +383,6 @@ python XendClient.py domains
python XendClient.py domain 0
(domain (id 0) (name Domain-0) (memory 128))
"""
global DEBUG
from getopt import getopt
short_options = 'x:au:d'
long_options = ['xend=', 'unix=', 'debug']
@@ -397,8 +394,6 @@ python XendClient.py domain 0
srv = v
elif k in ['-u', '--unix']:
unix = int(v)
elif k in ['-d', '--debug']:
DEBUG = 1
if len(args):
fn = args[0]
args = args[1:]
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.