Skip to content

Commit 4d29f85

Browse files
sed-icderici
authored andcommitted
Fix conditional
(cherry picked from commit 97774aa)
1 parent c68a1c7 commit 4d29f85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

juju/client/facade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def from_json(cls, data):
678678
# assumes are in the form of a list
679679
d = {}
680680
for entry in data:
681-
if '>' or '>=' in entry:
681+
if '>' in entry or '>=' in entry:
682682
# something like juju >= 2.9.31
683683
i = entry.index('>')
684684
key = entry[:i].strip()

0 commit comments

Comments
 (0)