Skip to content

Commit

Permalink
fix flake8 failure
Browse files Browse the repository at this point in the history
Signed-off-by: Trishna Guha <[email protected]>
  • Loading branch information
trishnaguha committed Oct 29, 2018
1 parent 91eddb5 commit 86f3dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lookup_plugins/network_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _coerce_to_native(self, value):
if not isinstance(value, bool):
try:
value = int(value)
except Exception as exc:
except Exception:
if value is None or len(value) == 0:
return None
return value
Expand Down

0 comments on commit 86f3dc5

Please sign in to comment.