]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
portsecurity_db: Fix a usage of is_attr_set
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Mon, 9 Mar 2015 08:35:05 +0000 (17:35 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Tue, 10 Mar 2015 03:59:39 +0000 (03:59 +0000)
commit3b0544757724fecbe7b6045b8126c40c4251a22e
tree02c439505de1001117dada6ef4305c70f2ec22eb
parentebc1469a7e3489ad028ed36fca07883fba889401
portsecurity_db: Fix a usage of is_attr_set

I believe this is the intention of the original change.
commit a5ccc2358dcc2cee5bc8db6a4448f58bae40b67b

Also, add a test case which would have revealed the problem.

Closes-Bug: #1429754
Change-Id: I1481492404e7388b145860820a308452da24e24f
neutron/db/portsecurity_db.py
neutron/tests/unit/test_extension_portsecurity.py