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

Commit

Permalink
Fix a typo on the optional_argument transport (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Nov 7, 2016
1 parent 49d4f54 commit 62535b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions napalm_eos/eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)

if self.transport == 'https':
self.port = optional_args.get('port', 443)
elif self.transrpot == 'http':
elif self.transport == 'http':
self.port = optional_args.get('port', 80)

self.enablepwd = optional_args.get('enable_password', '')
Expand All @@ -76,7 +76,7 @@ def open(self):
try:
if self.transport in ('http', 'https'):
connection = pyeapi.client.connect(
transport='https',
transport=self.transport,
host=self.hostname,
username=self.username,
password=self.password,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="napalm-eos",
version="0.4.2",
version="0.4.3",
packages=find_packages(),
author="David Barroso",
author_email="dbarrosop@dravetech.com",
Expand Down

0 comments on commit 62535b0

Please sign in to comment.