]> code.ossystems Code Review - openembedded-core.git/commit
package_manager.py: fix python indentation bug (opkg)
authorIoan-Adrian Ratiu <adrian.ratiu@ni.com>
Fri, 5 Feb 2016 10:51:51 +0000 (12:51 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Feb 2016 23:08:57 +0000 (23:08 +0000)
commit555981c10e6b7f5c2be7f2c3fefb89b1add72cab
tree6c506c2b828009e52b607e168d04286e9d2a7a35
parent5de9b123f35a62a0a81f434a10492cdd92668ef0
package_manager.py: fix python indentation bug (opkg)

This if branch is causing the following error during do_rootfs:
"Exception: UnboundLocalError: local variable 'cfg_file' referenced
before assignment". This happends because the cfg_file variable is
defined at a deeper nesting level (just above the if branch).

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py