[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Remove broken and unused set_u32.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1168000309 0
# Node ID 269a08123d8769ac57fd78f9228904dc0afa51e3
# Parent  bb8ae710d829d5a7805c5588d8ded2ea393686cf
Remove broken and unused set_u32.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xm/opts.py |    8 --------
 1 files changed, 8 deletions(-)

diff -r bb8ae710d829 -r 269a08123d87 tools/python/xen/xm/opts.py
--- a/tools/python/xen/xm/opts.py       Fri Jan 05 12:30:32 2007 +0000
+++ b/tools/python/xen/xm/opts.py       Fri Jan 05 12:31:49 2007 +0000
@@ -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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.