Skip to content

Commit

Permalink
Bypass a couple of pylama errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers authored and GGabriele committed Jan 30, 2017
1 parent e6e9ffd commit 54ee196
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions napalm_panos/panos.py
Expand Up @@ -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:
Expand Down Expand Up @@ -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):
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Expand Up @@ -5,4 +5,5 @@ pytest-json
pytest-pythonpath
pylama
flake8-import-order
tox
-r requirements.txt
2 changes: 1 addition & 1 deletion 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

0 comments on commit 54ee196

Please sign in to comment.