diff options
author | Zuul <zuul@review.opendev.org> | 2021-06-23 15:19:50 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-06-23 15:19:50 +0000 |
commit | c7f1a4a99ea997943e8ac6e8663a218302631f2c (patch) | |
tree | 7ced1805fa6957a40eba20258122eed4297bc93f /oslo_db/sqlalchemy | |
parent | 0e76c0216069a0d3f7dea1fe01d50330f03fd344 (diff) | |
parent | 50356dca820270314e594b4d76814cd147dae0fe (diff) | |
download | oslo-db-c7f1a4a99ea997943e8ac6e8663a218302631f2c.tar.gz |
Merge "Remove the useless else."
Diffstat (limited to 'oslo_db/sqlalchemy')
-rw-r--r-- | oslo_db/sqlalchemy/types.py | 3 |
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): |