commit | cef980ac62403faad244bd6bda23a2b4772bb544 | [log] [tgz] |
---|---|---|
author | Saqib Khan <khansa@us.ibm.com> | Tue Mar 07 07:15:29 2017 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Mar 16 21:52:11 2017 +0000 |
tree | a3d2f748d52daf377ebc3f2c16a2221c3c222acb | |
parent | 026fbaf149cbd00e887debbf1dfcd0230e770508 [diff] [blame] |
Replace iteritems() with items() in systemd Deprecated iteritems() method is not forward-compatible with python3 and is replaced by items() Change-Id: Ic6b57da360149c378118673b966bde189d8e2493 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
diff --git a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass index d302ca5..7446d4b 100644 --- a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass
@@ -230,7 +230,7 @@ spec, file = spec.rsplit(':', 1) all_subs.setdefault(file, []).append(spec) - for f, v in all_subs.iteritems(): + for f, v in all_subs.items(): subs = dict([ x.split(':') for x in v]) if not subs: continue