From a1202ed17e11400f08064c9065fdfa996554d4ad Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 19 Oct 2015 19:50:39 +0000 Subject: 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 Signed-off-by: Richard Purdie Signed-off-by: Ross Burton --- scripts/oe-pkgdata-util | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util index 116cfae742..cb19cc4ae5 100755 --- a/scripts/oe-pkgdata-util +++ b/scripts/oe-pkgdata-util @@ -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) -- cgit 1.2.3-korg