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

[Xen-changelog] [xen-unstable] In xm shell, add a space to the function names when tab-completing.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1173823938 0
# Node ID 3f45afc6b0251d938c7751ea216689edf0973c7f
# Parent  e6c31944916bd32611e49d298ade77226b50a3d2
In xm shell, add a space to the function names when tab-completing.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xm/main.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r e6c31944916b -r 3f45afc6b025 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Wed Mar 14 16:58:30 2007 +0000
+++ b/tools/python/xen/xm/main.py       Tue Mar 13 22:12:18 2007 +0000
@@ -557,7 +557,7 @@ class Shell(cmd.Cmd):
         if serverType == SERVER_XEN_API:
             res = server.xenapi._UNSUPPORTED_list_all_methods()
             for f in res:
-                setattr(Shell, 'do_' + f, self.default)
+                setattr(Shell, 'do_' + f + ' ', self.default)
 
     def preloop(self):
         cmd.Cmd.preloop(self)

_______________________________________________
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®.