]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake/utils.py: Drop unused function extend_deps()
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Jan 2011 12:04:18 +0000 (12:04 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Jan 2011 13:24:04 +0000 (13:24 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/utils.py

index f04f4abe3290fb5d7ff649f85597aa4f8705c343..a4902931c638eb0b8eb78de526ed7d36d5ac5ac7 100644 (file)
@@ -291,17 +291,6 @@ def join_deps(deps):
             result.append(dep)
     return ", ".join(result)
 
-def extend_deps(dest, src):
-    """
-    Extend the results from explode_dep_versions by appending all of the items
-    in the second list, avoiding duplicates.
-    """
-    for dep in src:
-        if dep not in dest:
-            dest[dep] = src[dep]
-        elif dest[dep] != src[dep]:
-            dest[dep] = src[dep]
-
 def _print_trace(body, line):
     """
     Print the Environment of a Text Body