summaryrefslogtreecommitdiffstats
path: root/scripts
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-27 07:24:29 +0000
commit031d4645041ba83c212901f08c200e596b84451b (patch)
tree0968c9e3821419297533e9452f6e44698137f549 /scripts
parentd8d4ce720e5c5823d00c2000d182e0f409240138 (diff)
downloadpoky-031d4645041ba83c212901f08c200e596b84451b.tar.gz
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>
Diffstat (limited to 'scripts')
-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():
496 sys.exit(1) 496 sys.exit(1)
497 497
498 if not os.path.exists(args.pkgdata_dir): 498 if not os.path.exists(args.pkgdata_dir):
499 logger.error('Unable to find pkgdata directory %s' % pkgdata_dir) 499 logger.error('Unable to find pkgdata directory %s' % args.pkgdata_dir)
500 sys.exit(1) 500 sys.exit(1)
501 501
502 ret = args.func(args) 502 ret = args.func(args)