diff --git a/oslo_db/sqlalchemy/types.py b/oslo_db/sqlalchemy/types.py index 08b1f2b2..14ea94cd 100644 --- a/oslo_db/sqlalchemy/types.py +++ b/oslo_db/sqlalchemy/types.py @@ -106,8 +106,7 @@ class SoftDeleteInteger(TypeDecorator): """Return the binding parameter.""" if value is None: return None - else: - return int(value) + return int(value) class String(_String):