Skip to content

Commit

Permalink
Remove unused variable err
Browse files Browse the repository at this point in the history
This fixes the following:

```
=================================== FAILURES
===================================
_______________________________________
_______________________________________
napalm_logs/listener/kafka.py:17:1: W0612 local variable 'err' is assigned to but never used [pyflakes]
_______________________________________
_______________________________________
napalm_logs/listener/zeromq.py:16:1: W0612 local variable 'err' is assigned to but never used [pyflakes]
_______________________________________
_______________________________________
napalm_logs/transport/kafka.py:15:1: W0612 local variable 'err' is assigned to but never used [pyflakes]
```
  • Loading branch information
luke-orden committed May 29, 2018
1 parent 0c90d6e commit 15adfe3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion napalm_logs/listener/kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
try:
import kafka
HAS_KAFKA = True
except ImportError as err:
except ImportError:
HAS_KAFKA = False

# Import napalm-logs pkgs
Expand Down
2 changes: 1 addition & 1 deletion napalm_logs/listener/zeromq.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
try:
import zmq
HAS_ZMQ = True
except ImportError as err:
except ImportError:
HAS_ZMQ = False

# Import napalm-logs pkgs
Expand Down
2 changes: 1 addition & 1 deletion napalm_logs/transport/kafka.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
try:
import kafka
HAS_KAFKA = True
except ImportError as err:
except ImportError:
HAS_KAFKA = False

# Import napalm-logs pkgs
Expand Down

0 comments on commit 15adfe3

Please sign in to comment.