From 17ea15299092af177f7065d4fa96840d41d35cec Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 4 Nov 2010 08:47:11 -0700 Subject: Fix GraphViz .dot output for rdepends and rrecs Use bb.utils.explode_deps to break up the rdepends and rrecommends strings. This fixes the same issue which was fixed by a number of patches floating around, but uses explode_deps rather than regular expressions. (Bitbake rev: 83cdb23f8b89453a3527a276bd0b4deb85d63deb) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 33b9201e6..77646cd06 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -323,14 +323,14 @@ class BBCooker: rdepends = self.status.rundeps[fn] for package in rdepends: depend_tree["rdepends-pkg"][package] = [] - for rdepend in rdepends[package]: + for rdepend in bb.utils.explode_deps(rdepends[package]): depend_tree["rdepends-pkg"][package].append(rdepend) packages.append(package) rrecs = self.status.runrecs[fn] for package in rrecs: depend_tree["rrecs-pkg"][package] = [] - for rdepend in rrecs[package]: + for rdepend in bb.utils.explode_deps(rrecs[package]): depend_tree["rrecs-pkg"][package].append(rdepend) if not package in packages: packages.append(package) -- cgit v1.2.3