direct-io.hg

changeset 14374:3f45afc6b025

In xm shell, add a space to the function names when tab-completing.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Mar 13 22:12:18 2007 +0000 (2007-03-13)
parents e6c31944916b
children 01e35a77ce8f
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Wed Mar 14 16:58:30 2007 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Tue Mar 13 22:12:18 2007 +0000
     1.3 @@ -557,7 +557,7 @@ class Shell(cmd.Cmd):
     1.4          if serverType == SERVER_XEN_API:
     1.5              res = server.xenapi._UNSUPPORTED_list_all_methods()
     1.6              for f in res:
     1.7 -                setattr(Shell, 'do_' + f, self.default)
     1.8 +                setattr(Shell, 'do_' + f + ' ', self.default)
     1.9  
    1.10      def preloop(self):
    1.11          cmd.Cmd.preloop(self)