Skip to content
This repository was archived by the owner on Feb 10, 2018. It is now read-only.

Commit

Permalink
suppress FutureWarning (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckishimo authored and dbarrosop committed Oct 16, 2017
1 parent 8a0ff99 commit 6dd3546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napalm_junos/junos.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ def _process_pipe(cmd, txt):
Process CLI output from Juniper device that
doesn't allow piping the output.
'''
if not txt:
if txt is not None:
return txt
_OF_MAP = OrderedDict()
_OF_MAP['except'] = _except
Expand Down

0 comments on commit 6dd3546

Please sign in to comment.