Skip to content

Commit

Permalink
Roll setup.py to indicate version 2.x.x (#199)
Browse files Browse the repository at this point in the history
* Roll setup.py to indicate version 2.x.x

* Fix issue with None timeout value
  • Loading branch information
ktbyers authored and dbarrosop committed Jul 27, 2018
1 parent 46d27d3 commit d150ccb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion nornir/plugins/connections/napalm.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ def open(
"hostname": hostname,
"username": username,
"password": password,
"timeout": connection_options.get("timeout"),
"optional_args": connection_options or {},
}
if connection_options.get("timeout"):
parameters["timeout"] = connection_options["timeout"]

network_driver = get_network_driver(nos)
connection = network_driver(**parameters)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__author__ = "dbarrosop@dravetech.com"
__license__ = "Apache License, version 2"

__version__ = "1.1.0"
__version__ = "2.0.0"

setup(
name="nornir",
Expand Down

0 comments on commit d150ccb

Please sign in to comment.