diff options
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index b430ee3a62..d29adaca7b 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -1141,7 +1141,7 @@ class OpkgPM(PackageManager): | |||
1141 | bb.fatal("Cannot get the installed packages list. Command '%s' " | 1141 | bb.fatal("Cannot get the installed packages list. Command '%s' " |
1142 | "returned %d:\n%s" % (cmd, e.returncode, e.output)) | 1142 | "returned %d:\n%s" % (cmd, e.returncode, e.output)) |
1143 | 1143 | ||
1144 | if format == "file": | 1144 | if output and format == "file": |
1145 | tmp_output = "" | 1145 | tmp_output = "" |
1146 | for line in output.split('\n'): | 1146 | for line in output.split('\n'): |
1147 | pkg, pkg_file, pkg_arch = line.split() | 1147 | pkg, pkg_file, pkg_arch = line.split() |