Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Commit

Permalink
SshConn: wrong call in main() corrected
Browse files Browse the repository at this point in the history
In the Function main() the SshConn is called with a wrong number of argumentes. One of the argumentes is a logger. This logger is not expected anymore and is removed.

Signed-off-by: Johannes Kroop <johkroop@gmail.com>
  • Loading branch information
Johannes Kroop authored and erikbgithub committed Apr 4, 2013
1 parent 9b614e2 commit aa159ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/monk_tf/ssh_conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def main():
if len(sys.argv) != 4:
print "Usage: %s <host> <username> <password>" % sys.argv[0]
sys.exit()
ssh = SshConn(logger.init(), sys.argv[1], (sys.argv[2], sys.argv[3]))
ssh = SshConn(sys.argv[1], (sys.argv[2], sys.argv[3]))
print ssh.cmd("echo $PATH")[1]
print ssh.cmd("ls /")[1]
print ssh.cmd("uptime")[1]
Expand Down

0 comments on commit aa159ed

Please sign in to comment.