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:
parent
d8d4ce720e
commit
031d464504
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue