ia64/xen-unstable

changeset 13273:269a08123d87

Remove broken and unused set_u32.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Fri Jan 05 12:31:49 2007 +0000 (2007-01-05)
parents bb8ae710d829
children ea493d9b82df
files tools/python/xen/xm/opts.py
line diff
     1.1 --- a/tools/python/xen/xm/opts.py	Fri Jan 05 12:30:32 2007 +0000
     1.2 +++ b/tools/python/xen/xm/opts.py	Fri Jan 05 12:31:49 2007 +0000
     1.3 @@ -559,14 +559,6 @@ def set_bool(opt, k, v):
     1.4      else:
     1.5          opt.opts.err('Invalid value:' +v)
     1.6          
     1.7 -def set_u32(opt, k, v):
     1.8 -    """Set an option to an u32 value."""
     1.9 -    try:
    1.10 -        v = u32(v)
    1.11 -    except:
    1.12 -        opt.opts.err('Invalid value: ' + str(v))
    1.13 -    opt.set(v)
    1.14 -
    1.15  def set_value(opt, k, v):
    1.16      """Set an option to a value."""
    1.17      opt.set(v)