diff --git a/lib/jnpr/junos/device.py b/lib/jnpr/junos/device.py index 6042cd5ef..063ffb344 100644 --- a/lib/jnpr/junos/device.py +++ b/lib/jnpr/junos/device.py @@ -868,9 +868,8 @@ def execute(self, rpc_cmd, ignore_warning=False, **kvargs): "JSON", ]: ver_info = self.facts.get("version_info") - if ( - ver_info - and ver_info.major[0] >= 15 + if ver_info and ( + ver_info.major[0] >= 15 or (ver_info.major[0] == 14 and ver_info.major[1] >= 2) ): try: