diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-01-05 12:31:49 +0000 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-01-05 12:31:49 +0000 |
commit | 957eed72524f2b144a86570f52b3a487fabb4939 (patch) | |
tree | a3e145768bab6059b396679de822e9dec8094ba1 /tools | |
parent | 800c66b2642c9101ace90f48cb643f4636d1d545 (diff) | |
download | xen-957eed72524f2b144a86570f52b3a487fabb4939.tar.gz xen-957eed72524f2b144a86570f52b3a487fabb4939.tar.bz2 xen-957eed72524f2b144a86570f52b3a487fabb4939.zip |
Remove broken and unused set_u32.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xm/opts.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/python/xen/xm/opts.py b/tools/python/xen/xm/opts.py index 1eac629aa1..7dd28bfa4e 100644 --- a/tools/python/xen/xm/opts.py +++ b/tools/python/xen/xm/opts.py @@ -559,14 +559,6 @@ def set_bool(opt, k, v): else: opt.opts.err('Invalid value:' +v) -def set_u32(opt, k, v): - """Set an option to an u32 value.""" - try: - v = u32(v) - except: - opt.opts.err('Invalid value: ' + str(v)) - opt.set(v) - def set_value(opt, k, v): """Set an option to a value.""" opt.set(v) |