Merge "conditional_update(): disable false pylint error message"
This commit is contained in:
commit
a19cf78162
@ -7350,6 +7350,7 @@ def conditional_update(context, model, values, expected_values, filters=(),
|
||||
else_=value.else_)
|
||||
|
||||
if key in order:
|
||||
# pylint: disable=E1137; ("order" is known to be a list, here)
|
||||
order[order.index(key)] = (key, value)
|
||||
continue
|
||||
# NOTE(geguileo): Check Case first since it's a type of orm value
|
||||
|
Loading…
Reference in New Issue
Block a user