diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package_deb.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 8f9b09a780..6db69332e2 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -232,7 +232,7 @@ python do_package_deb () { | |||
232 | 232 | ||
233 | rdepends = bb.utils.explode_dep_versions2(localdata.getVar("RDEPENDS", True) or "") | 233 | rdepends = bb.utils.explode_dep_versions2(localdata.getVar("RDEPENDS", True) or "") |
234 | debian_cmp_remap(rdepends) | 234 | debian_cmp_remap(rdepends) |
235 | for dep in rdepends.keys(): | 235 | for dep in list(rdepends.keys()): |
236 | if dep == pkg: | 236 | if dep == pkg: |
237 | del rdepends[dep] | 237 | del rdepends[dep] |
238 | continue | 238 | continue |
@@ -240,7 +240,7 @@ python do_package_deb () { | |||
240 | del rdepends[dep] | 240 | del rdepends[dep] |
241 | rrecommends = bb.utils.explode_dep_versions2(localdata.getVar("RRECOMMENDS", True) or "") | 241 | rrecommends = bb.utils.explode_dep_versions2(localdata.getVar("RRECOMMENDS", True) or "") |
242 | debian_cmp_remap(rrecommends) | 242 | debian_cmp_remap(rrecommends) |
243 | for dep in rrecommends.keys(): | 243 | for dep in list(rrecommends.keys()): |
244 | if '*' in dep: | 244 | if '*' in dep: |
245 | del rrecommends[dep] | 245 | del rrecommends[dep] |
246 | rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "") | 246 | rsuggests = bb.utils.explode_dep_versions2(localdata.getVar("RSUGGESTS", True) or "") |