From: Andrew Jeffery Date: Wed, 2 Mar 2022 13:21:42 +0000 (+1030) Subject: ipk: Import re in manifest module X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e240a8ede690e56bcf53a97b3be5592e6e4a5a15;p=openembedded-core.git ipk: Import re in manifest module ``` File: '/home/andrew/src/openbmc/openbmc/meta/lib/oe/package_manager/ipk/manifest.py', lineno: 67, function: create_full 0063: 0064: output = pm.dummy_install(pkgs_to_install) 0065: 0066: with open(self.full_manifest, 'w+') as manifest: *** 0067: pkg_re = re.compile('^Installing ([^ ]+) [^ ].*') 0068: for line in set(output.split('\n')): 0069: m = pkg_re.match(line) 0070: if m: 0071: manifest.write(m.group(1) + '\n') Exception: NameError: name 're' is not defined ``` Change-Id: I769a2ab5e57c7b60598ea0390b576d707356db9d Signed-off-by: Andrew Jeffery Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/package_manager/ipk/manifest.py b/meta/lib/oe/package_manager/ipk/manifest.py index ee4b57bcb0..22669f97c0 100644 --- a/meta/lib/oe/package_manager/ipk/manifest.py +++ b/meta/lib/oe/package_manager/ipk/manifest.py @@ -3,6 +3,7 @@ # from oe.manifest import Manifest +import re class PkgManifest(Manifest): """