projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
800c66b
)
Remove broken and unused set_u32.
author
Ewan Mellor
<ewan@xensource.com>
Fri, 5 Jan 2007 12:31:49 +0000
(12:31 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Fri, 5 Jan 2007 12:31:49 +0000
(12:31 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/opts.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/opts.py
b/tools/python/xen/xm/opts.py
index 1eac629aa1f23ed8a9b46112c5c93900c5bcc558..7dd28bfa4ed4a0bfc8e6b2771b54cd55559c7ec6 100644
(file)
--- 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)