Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
fix bail_timeout in function
linter connect function
  • Loading branch information
linickx committed Aug 23, 2016
1 parent a8e97ab commit 2a917af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crassh.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
Functions
"""

def send_command(command="show ver", hostname="Switch", bail_timeout=0):
def send_command(command="show ver", hostname="Switch", bail_timeout=60):
"""Sending commands to a switch, router, device, whatever!
Args:
Expand Down Expand Up @@ -296,7 +296,7 @@ def readauthfile(filepath):
password = thisline[1].strip()
return username, password

def connect(device="127.0.0.1", username="cisco", password="cisco", enable=False,enable_password="cisco", sysexit=False, timeout=10):
def connect(device="127.0.0.1", username="cisco", password="cisco", enable=False, enable_password="cisco", sysexit=False, timeout=10):
"""Connect and get Hostname of Cisco Device
This function wraps up ``paramiko`` and returns the hostname of the **Cisco** device.
Expand Down

0 comments on commit 2a917af

Please sign in to comment.