diff options
Diffstat (limited to 'pexpect/examples/hive.py')
-rwxr-xr-x | pexpect/examples/hive.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pexpect/examples/hive.py b/pexpect/examples/hive.py index 0ab1837..f6fde60 100755 --- a/pexpect/examples/hive.py +++ b/pexpect/examples/hive.py @@ -1,4 +1,5 @@ #!/usr/bin/env python + """hive -- Hive Shell This lets you ssh to a group of servers and control them as if they were one. @@ -58,8 +59,9 @@ this auth information. This is not secure. --username=: This sets the username for all hosts. This implies --sameuser. --password=: This sets the password for all hosts. This implies --password. -$Id$ Noah Spurrier + +$Id$ """ # TODO add feature to support username:password@host combination @@ -350,6 +352,8 @@ if __name__ == "__main__": print time.asctime() print "TOTAL TIME IN MINUTES:", print (time.time() - start_time) / 60.0 + except SystemExit, e: + raise e except Exception, e: tb_dump = traceback.format_exc() print "==========================================================================" |