scripts: convert to python3

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I46e84f79a2698aaee286a1cd1b339b3bbf7296d3
diff --git a/scripts/inventorysensor.mako.cpp b/scripts/inventorysensor.mako.cpp
index 0689662..11c9f4e 100644
--- a/scripts/inventorysensor.mako.cpp
+++ b/scripts/inventorysensor.mako.cpp
@@ -6,7 +6,7 @@
 #include "oemhandler.hpp"
 
 extern const ObjectIDMap invSensors = {
-% for key in sensorDict.iterkeys():
+% for key in sensorDict.keys():
    % if key:
 {"${key}",
     {