Remove the useless else.
We return the value in the if condition, so the else is not necessary. Change-Id: I1de4b7f7f7ea3634e3a2d49704f689205f746085
This commit is contained in:
parent
3400d2df48
commit
50356dca82
@ -106,8 +106,7 @@ class SoftDeleteInteger(TypeDecorator):
|
|||||||
"""Return the binding parameter."""
|
"""Return the binding parameter."""
|
||||||
if value is None:
|
if value is None:
|
||||||
return None
|
return None
|
||||||
else:
|
return int(value)
|
||||||
return int(value)
|
|
||||||
|
|
||||||
|
|
||||||
class String(_String):
|
class String(_String):
|
||||||
|
Loading…
Reference in New Issue
Block a user