From af09e494b9f83acd1cd59036413afee49deb1cf6 Mon Sep 17 00:00:00 2001 From: Carles Kishimoto Date: Thu, 12 Oct 2017 11:02:21 +0200 Subject: [PATCH] suppress FutureWarning --- napalm_junos/junos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py index 1e8289b..89c76e9 100644 --- a/napalm_junos/junos.py +++ b/napalm_junos/junos.py @@ -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