make the rank fixup recursive
authorAdrian Bunk <adrian.bunk@movial.com>
Thu, 11 Mar 2010 18:39:44 +0000 (20:39 +0200)
committerAdrian Bunk <adrian.bunk@movial.com>
Thu, 11 Mar 2010 18:39:44 +0000 (20:39 +0200)
http://linux.onarm.com/bugzilla/show_bug.cgi?id=45

matrix/components.py

index 55bdcdd2c6a6887572f60cfdd2d2f60f8b755452..4839d9924d3e471c418cb67c1b0d547a19bb82c9 100644 (file)
@@ -63,6 +63,8 @@ class Component(object):
                        c.rank = self.rank
                        if config.debug:
                                print 'Rank fixup:', c, 'inherits rank from', self
+                       for dep in c.get_depends():
+                               c.add_depend(dep)
 
                self.depends.add(c)