From 815ff3912888d7658bfb9962f13a59af6bb5c2c4 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Jun 15 2005 20:53:19 +0000 Subject: initialize description to None so missing descriptions dont show wrong data --- diff --git a/refpolicy/support/sedoctool.py b/refpolicy/support/sedoctool.py index 4c19c34..c645530 100755 --- a/refpolicy/support/sedoctool.py +++ b/refpolicy/support/sedoctool.py @@ -237,7 +237,7 @@ def gen_docs(doc, dir, templatedir): interfaces = [] for interface in node.getElementsByTagName("interface"): interface_parameters = [] - interface_secdesc = interface_summary = None + interface_desc = interface_secdesc = interface_summary = None for i,v in interface.attributes.items(): interface_name = v for desc in interface.getElementsByTagName("description"):