Move to python3
This commit moves configure.ac and python scripts to
python3
Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: Iaa03dffe15903fbd68c354442823903cc3bb3ad2
diff --git a/writefru.mako.hpp b/writefru.mako.hpp
index f7f06c5..b2890ea 100755
--- a/writefru.mako.hpp
+++ b/writefru.mako.hpp
@@ -32,7 +32,7 @@
throw std::runtime_error("Not implemented");
}
-% for key in fruDict.iterkeys():
+% for key in fruDict.keys():
<%
fru = fruDict[key]
%>\
@@ -48,14 +48,14 @@
// Inventory manager needs object path, list of interface names to be
// implemented, and property:value pairs contained in said interfaces
- % for interface, properties in fru.iteritems():
+ % for interface, properties in fru.items():
<%
names = interface.split(".")
intfName = names[0] + names[-1]
%>\
PropertyMap ${intfName}Props;
% if properties:
- % for name, value in properties.iteritems():
+ % for name, value in properties.items():
% if fru and interface and name and value:
<%
record, keyword = name.split(",")