- [[for layer_name, layer_mods in menulist.iteritems()]]
+ [[for layer_name, layer_mods in menulist]]
+
[[layer_name]]
- [[for module, s in layer_mods.iteritems()]]
+ [[for module, s in layer_mods]]
-
[[module]]
[[end]]
diff --git a/refpolicy/doc/templates/module_list.html b/refpolicy/doc/templates/module_list.html
index e56c925..06647ff 100644
--- a/refpolicy/doc/templates/module_list.html
+++ b/refpolicy/doc/templates/module_list.html
@@ -3,8 +3,8 @@
[[end]]
Module:
Description:
- [[for layer_name, layer_mods in menulist.iteritems()]]
- [[for module, s in layer_mods.iteritems()]]
+ [[for layer_name, layer_mods in menulist]]
+ [[for module, s in layer_mods]]