diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2017-05-01 22:39:35 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-05-01 22:39:43 -0500 |
commit | 50d5d260348cc7366a01df08dd55a8b710da2fe9 (patch) | |
tree | 4356016c790df91ede2ea5d5dac55a4ac6e6e297 /callouts | |
parent | 678d58b8d9af310560d0a40ef1ba45e323689cfe (diff) | |
download | phosphor-logging-50d5d260348cc7366a01df08dd55a8b710da2fe9.tar.gz phosphor-logging-50d5d260348cc7366a01df08dd55a8b710da2fe9.zip |
python3: iteritems does not exist
Change iteritems to items, which is slightly slower
on python2 but exists in both. None of the maps manipulated
by this program are large enough for the items vs iteritems
to be a concern.
Change-Id: I63032ddde53a116431cc2cbe01828448a4d4f328
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'callouts')
-rw-r--r-- | callouts/callouts-gen.mako.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/callouts/callouts-gen.mako.hpp b/callouts/callouts-gen.mako.hpp index 7d28a3a..285092e 100644 --- a/callouts/callouts-gen.mako.hpp +++ b/callouts/callouts-gen.mako.hpp @@ -14,7 +14,7 @@ namespace logging constexpr auto callouts = { -% for key, value in sorted(calloutsMap.iteritems()): +% for key, value in sorted(calloutsMap.items()): std::make_tuple("${key}", "${value}"), % endfor }; |