ia64/xen-unstable

changeset 1191:2d19a1a32eea

bitkeeper revision 1.805 (405855d4miA78lKONuhS5MJEPyuuhQ)

console_client.py:
Fix Python console module for direct use.
author kaf24@scramble.cl.cam.ac.uk
date Wed Mar 17 13:42:44 2004 +0000 (2004-03-17)
parents f94912902e71
children 0c707d7680c9
files tools/xenctl/lib/console_client.py
line diff
     1.1 --- a/tools/xenctl/lib/console_client.py	Wed Mar 17 13:35:01 2004 +0000
     1.2 +++ b/tools/xenctl/lib/console_client.py	Wed Mar 17 13:42:44 2004 +0000
     1.3 @@ -1,3 +1,4 @@
     1.4 +#!/usr/bin/env python
     1.5  
     1.6  ##############################################
     1.7  # Console client for Xen guest OSes
     1.8 @@ -57,4 +58,4 @@ def connect(host,port):
     1.9          termios.tcsetattr(0, termios.TCSAFLUSH, oattrs)
    1.10  
    1.11  if __name__ == '__main__':
    1.12 -    main(str(sys.argv[1]),int(sys.argv[2]))
    1.13 +    connect(str(sys.argv[1]),int(sys.argv[2]))