Commit 50e96053 authored by Naoki Kambe's avatar Naoki Kambe
Browse files

[917] remove the obvious returns of None

parent f1e08d75
......@@ -482,7 +482,6 @@ class StatsHttpd:
stats_data2xml(item_spec,
stats_data[item_spec['item_name']],
xml_elem)
return None
stats_spec = self.get_stats_spec(module_name, item_name)
stats_data = self.get_stats_data(module_name, item_name)
......@@ -596,7 +595,6 @@ class StatsHttpd:
elif type(stats_spec) is list:
for item_spec in stats_spec:
stats_spec2xsd(item_spec, xsd_elem)
return None
# for XSD
stats_spec = self.get_stats_spec(module_name, item_name)
......@@ -761,7 +759,6 @@ class StatsHttpd:
else:
table.append(tr)
xsl_elem.append(table)
return None
# for XSL
stats_spec = self.get_stats_spec(module_name, item_name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment