Skip to content

Commit 0d04514

Browse files
fixed black format
1 parent 079a60e commit 0d04514

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/jnpr/junos/device.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -868,10 +868,9 @@ def execute(self, rpc_cmd, ignore_warning=False, **kvargs):
868868
"JSON",
869869
]:
870870
ver_info = self.facts.get("version_info")
871-
if (
872-
ver_info
873-
and (ver_info.major[0] >= 15
874-
or (ver_info.major[0] == 14 and ver_info.major[1] >= 2))
871+
if ver_info and (
872+
ver_info.major[0] >= 15
873+
or (ver_info.major[0] == 14 and ver_info.major[1] >= 2)
875874
):
876875
try:
877876
return json.loads(rpc_rsp_e.text, strict=False)

0 commit comments

Comments
 (0)