summaryrefslogtreecommitdiff
path: root/scripts/oe-pkgdata-util
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-19 19:50:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-24 12:20:54 +0100
commita1202ed17e11400f08064c9065fdfa996554d4ad (patch)
tree5449a8dd782b684a164bea6101b7a23e71e40950 /scripts/oe-pkgdata-util
parent6211c8060d408134dfa6c00b23b517c439e4c1e7 (diff)
downloadopenembedded-core-a1202ed17e11400f08064c9065fdfa996554d4ad.tar.gz
openembedded-core-a1202ed17e11400f08064c9065fdfa996554d4ad.tar.bz2
openembedded-core-a1202ed17e11400f08064c9065fdfa996554d4ad.zip
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 <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/oe-pkgdata-util')
-rwxr-xr-xscripts/oe-pkgdata-util2
1 files changed, 1 insertions, 1 deletions
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)