diff options
author | ZhijunWei <wzj334965317@outlook.com> | 2018-12-28 22:52:08 +0800 |
---|---|---|
committer | ZhijunWei <wzj334965317@outlook.com> | 2019-01-03 00:53:13 +0800 |
commit | 0d75776ae5c0fb78863b7c93b54c58b5600da93d (patch) | |
tree | f141edffdf1d6ceb29b37e5e3f39b4db38ba1e31 /oslo_db/sqlalchemy | |
parent | f1be3e74a6c8b28c7ef77ce6ee8808364b02b2a7 (diff) | |
download | oslo-db-0d75776ae5c0fb78863b7c93b54c58b5600da93d.tar.gz |
Update hacking version
update the hacking to latest, due to [1]
[1]: https://github.com/openstack/oslo.db/blob/master/HACKING.rst
Change-Id: I04147f3cbcb9c89a9a1afc1bcb299be8bdf06718
Diffstat (limited to 'oslo_db/sqlalchemy')
-rw-r--r-- | oslo_db/sqlalchemy/update_match.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oslo_db/sqlalchemy/update_match.py b/oslo_db/sqlalchemy/update_match.py index 543101e..8e139e9 100644 --- a/oslo_db/sqlalchemy/update_match.py +++ b/oslo_db/sqlalchemy/update_match.py @@ -292,8 +292,8 @@ def manufacture_entity_criteria(entity, include_only=None, exclude=None): existing = dict( (attr.key, attr.loaded_value) for attr in state.attrs - if attr.loaded_value is not orm.attributes.NO_VALUE - and attr.key not in exclude + if attr.loaded_value is not orm.attributes.NO_VALUE and + attr.key not in exclude ) if include_only: existing = dict( |