mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
scripts/oe-pkgdata-util: Fix variable name in error handling
Fix:
logger.error('Unable to find pkgdata directory %s' % pkgdata_dir)
NameError: global name 'pkgdata_dir' is not defined
(From OE-Core rev: a1202ed17e11400f08064c9065fdfa996554d4ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -496,7 +496,7 @@ def main():
|
||||
sys.exit(1)
|
||||
|
||||
if not os.path.exists(args.pkgdata_dir):
|
||||
logger.error('Unable to find pkgdata directory %s' % pkgdata_dir)
|
||||
logger.error('Unable to find pkgdata directory %s' % args.pkgdata_dir)
|
||||
sys.exit(1)
|
||||
|
||||
ret = args.func(args)
|
||||
|
||||
Reference in New Issue
Block a user