diff --git a/napalm_panos/panos.py b/napalm_panos/panos.py index 5fdfd79..5ec4925 100644 --- a/napalm_panos/panos.py +++ b/napalm_panos/panos.py @@ -302,7 +302,7 @@ def commit_config(self): time.sleep(3) self.loaded = False self.changed = True - except: + except: # noqa if self.merge_config: raise MergeConfigException('Error while commiting config') else: @@ -338,7 +338,7 @@ def rollback(self): self.loaded = False self.changed = False self.merge_config = False - except: + except: # noqa ReplaceConfigException("Error while loading backup config") def get_facts(self): diff --git a/requirements-dev.txt b/requirements-dev.txt index e2b6fc0..9fcae16 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,4 +5,5 @@ pytest-json pytest-pythonpath pylama flake8-import-order +tox -r requirements.txt diff --git a/requirements.txt b/requirements.txt index 2489e12..e791047 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ napalm-base>=0.18.0 pan-python -netmiko>=0.5.0 +netmiko>=1.0.0 requests-toolbelt xmltodict future