]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Delete the child object via setting the parent's attribute to None.
authorgongysh <gongysh@cn.ibm.com>
Wed, 24 Oct 2012 08:13:09 +0000 (16:13 +0800)
committergongysh <gongysh@cn.ibm.com>
Wed, 24 Oct 2012 08:13:09 +0000 (16:13 +0800)
commit90f60060ee3d8559a3ab3f50f49a9dcda7399d68
tree1127587c84209a0c9233adf1300cd2b2e0d53683
parenta5c1c89aa1cc9bbc69beae6cb37ea76faec708d3
Delete the child object via setting the parent's attribute to None.

Bug #1070335

We should not operate the foreigh key attribute of parent attribute
directly.

Change-Id: I98dc8eae78fdf67f0e7189e73afba77c6affcc0e
quantum/db/l3_db.py
quantum/tests/unit/test_l3_plugin.py