summaryrefslogtreecommitdiffstats
path: root/scripts/writefru.mako.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/writefru.mako.cpp')
-rw-r--r--scripts/writefru.mako.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/writefru.mako.cpp b/scripts/writefru.mako.cpp
index 7573862..6180e13 100644
--- a/scripts/writefru.mako.cpp
+++ b/scripts/writefru.mako.cpp
@@ -3,18 +3,18 @@
#include "frup.hpp"
extern const FruMap frus = {
-% for key in fruDict.iterkeys():
+% for key in fruDict.keys():
{${key},{
<%
fru = fruDict[key]
%>
- % for object,interfaces in fru.iteritems():
+ % for object,interfaces in fru.items():
{"${object}",{
- % for interface,properties in interfaces.iteritems():
+ % for interface,properties in interfaces.items():
{"${interface}",{
- % for dbus_property,property_value in properties.iteritems():
+ % for dbus_property,property_value in properties.items():
{"${dbus_property}",{
- % for name,value in property_value.iteritems():
+ % for name,value in property_value.items():
{"${name}","${value}"},
% endfor
}},
OpenPOWER on IntegriCloud