]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Move deletion from dependency graph to __delitem__
authorZane Bitter <zbitter@redhat.com>
Tue, 28 May 2013 08:16:37 +0000 (10:16 +0200)
committerZane Bitter <zbitter@redhat.com>
Tue, 28 May 2013 08:16:37 +0000 (10:16 +0200)
commit1f0a9bc2d1558747f8817d9cd48f0eaaa12a808c
treef097d44682bbcb75c2a2cc5fa83f2f84c6d69934
parent0e31ec7e73a8bf6b1aa70728351e5e668ba151ea
Move deletion from dependency graph to __delitem__

Graph objects are mutable, and will in future be used for operations other
than a topological sort, so abstract out the code for deleting backlinks to
a node from the other nodes that have dependencies on it when it is
removed.

Change-Id: I86b81303ed2dffd969a2db10535761f108f4808a
heat/engine/dependencies.py