Fix string operators >= and <=
Change-Id: Iaca5b7cc0a28ce5cf8ec6d53a34655a2052e42dc Closes-bug: #1589604
This commit is contained in:
parent
9a5c03a90c
commit
9d6866e694
@ -39,14 +39,14 @@ def lt(left, right):
|
||||
@specs.parameter('right', yaqltypes.String())
|
||||
@specs.name('#operator_>=')
|
||||
def gte(left, right):
|
||||
return left > right
|
||||
return left >= right
|
||||
|
||||
|
||||
@specs.parameter('left', yaqltypes.String())
|
||||
@specs.parameter('right', yaqltypes.String())
|
||||
@specs.name('#operator_<=')
|
||||
def lte(left, right):
|
||||
return left < right
|
||||
return left <= right
|
||||
|
||||
|
||||
@specs.parameter('args', yaqltypes.String())
|
||||
|
Loading…
x
Reference in New Issue
Block a user