summaryrefslogtreecommitdiff
path: root/oslo_db
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_db')
-rw-r--r--oslo_db/sqlalchemy/types.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/oslo_db/sqlalchemy/types.py b/oslo_db/sqlalchemy/types.py
index 08b1f2b..14ea94c 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):