From 728d49496cfbc7db47760be940580be4c6cfc933 Mon Sep 17 00:00:00 2001 From: Selladore <68815559+Selladore-Wong@users.noreply.github.com> Date: Wed, 24 Jul 2024 11:00:55 +0800 Subject: [PATCH] Fix duplicated line detection typo erro in oe-depends-dot script "depends[key]" should store "dep", instead of the "key" itself. So it should check if dep is already in depends[key]. --- scripts/oe-depends-dot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oe-depends-dot b/scripts/oe-depends-dot index d02ee455f60..bcef2478754 100755 --- a/scripts/oe-depends-dot +++ b/scripts/oe-depends-dot @@ -119,7 +119,7 @@ Reduce the .dot file packages only, no tasks: if key == dep: continue if key in depends: - if not key in depends[key]: + if not dep in depends[key]: depends[key].add(dep) else: print('WARNING: Fonud duplicated line: %s' % line)