]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/oe-selftest: Remove inadvertant python3 specific change
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 May 2016 15:06:20 +0000 (16:06 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 May 2016 15:09:13 +0000 (16:09 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-selftest

index 900b3f4873a502cfd2a3249da9ac9203c2621c87..00ef51f5160b88439f0809f8e1cb0ed5f71bafd9 100755 (executable)
@@ -442,7 +442,7 @@ def main():
     bbpath = get_bb_var('BBPATH').split(':')
     layer_libdirs = [p for p in (os.path.join(l, 'lib') for l in bbpath) if os.path.exists(p)]
     sys.path.extend(layer_libdirs)
-    imp.reload(oeqa.selftest)
+    reload(oeqa.selftest)
 
     if args.run_tests_by and len(args.run_tests_by) >= 2:
         valid_options = ['name', 'class', 'module', 'id', 'tag']