Skip to content

Commit

Permalink
Merge pull request #20 from napalm-automation/dbarrosop/napalm_base_0…
Browse files Browse the repository at this point in the history
….18.0

Adding support for napalm-base 0.18.0
  • Loading branch information
dbarrosop authored Nov 1, 2016
2 parents 794b906 + fcea907 commit fff7931
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions napalm_fortios/fortios.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,16 @@ def get_config(self, retrieve="all"):
text_result = '\n'.join(result)

return {
'startup': "",
'running': text_result,
'candidate': "",
'startup': u"",
'running': unicode(text_result),
'candidate': u"",
}

elif get_startup or get_candidate:
return {
'startup': "",
'running': "",
'candidate': "",
'startup': u"",
'running': u"",
'candidate': u"",
}

def get_facts(self):
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
napalm-base==0.17.0
napalm-base>=0.18.0
pyFG
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-fortios",
version="0.2.0",
version="0.2.1",
packages=find_packages(),
author="David Barroso",
author_email="dbarrosop@dravetech.com",
Expand Down

0 comments on commit fff7931

Please sign in to comment.