summaryrefslogtreecommitdiff
path: root/oslo_db
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-06-23 15:19:50 +0000
committerGerrit Code Review <review@openstack.org>2021-06-23 15:19:50 +0000
commitc7f1a4a99ea997943e8ac6e8663a218302631f2c (patch)
tree7ced1805fa6957a40eba20258122eed4297bc93f /oslo_db
parent0e76c0216069a0d3f7dea1fe01d50330f03fd344 (diff)
parent50356dca820270314e594b4d76814cd147dae0fe (diff)
downloadoslo-db-c7f1a4a99ea997943e8ac6e8663a218302631f2c.tar.gz
Merge "Remove the useless else."
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):