diff options
author | Saqib Khan <khansa@us.ibm.com> | 2017-03-07 07:15:29 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-16 21:52:11 +0000 |
commit | cef980ac62403faad244bd6bda23a2b4772bb544 (patch) | |
tree | a3d2f748d52daf377ebc3f2c16a2221c3c222acb /meta-phosphor | |
parent | 026fbaf149cbd00e887debbf1dfcd0230e770508 (diff) | |
download | talos-openbmc-cef980ac62403faad244bd6bda23a2b4772bb544.tar.gz talos-openbmc-cef980ac62403faad244bd6bda23a2b4772bb544.zip |
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>
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/classes/obmc-phosphor-systemd.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass index d302ca513..7446d4b48 100644 --- a/meta-phosphor/classes/obmc-phosphor-systemd.bbclass +++ b/meta-phosphor/classes/obmc-phosphor-systemd.bbclass @@ -230,7 +230,7 @@ python systemd_do_postinst() { 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 |