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:
Daniel Bengtsson 2021-06-23 12:50:12 +02:00
parent 3400d2df48
commit 50356dca82

View File

@ -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):