aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-19 19:50:39 +0000
committerJoshua Lock <joshua.g.lock@intel.com>2016-05-06 15:51:14 +0100
commitaf95fa33067542fe6f253d57b6dda575ceea5527 (patch)
tree6614f3eed1e84ccd1723307a75ce78ed176e0e58
parent0af3db797131c1745b9268ad09e5b89f401c10ba (diff)
downloadopenembedded-core-contrib-af95fa33067542fe6f253d57b6dda575ceea5527.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 master rev: a1202ed17e11400f08064c9065fdfa996554d4ad) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
-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 b075775b8f..25a3d89fb2 100755
--- a/scripts/oe-pkgdata-util
+++ b/scripts/oe-pkgdata-util
@@ -493,7 +493,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)