Commit 16717b13 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[trac736] minor whitespace change

parent 364d07e8
...@@ -59,7 +59,7 @@ def check(config): ...@@ -59,7 +59,7 @@ def check(config):
if 'stream' in output_option and\ if 'stream' in output_option and\
output_option['stream'].lower() not in ALLOWED_STREAMS: output_option['stream'].lower() not in ALLOWED_STREAMS:
errors.append("bad stream: " + output_option['stream']) errors.append("bad stream: " + output_option['stream'])
if errors: if errors:
return ', '.join(errors) return ', '.join(errors)
return None return None
......
...@@ -30,7 +30,7 @@ namespace { ...@@ -30,7 +30,7 @@ namespace {
// or the original spec_part, if it is not a MapElement or does // or the original spec_part, if it is not a MapElement or does
// not contain "list_item_spec" or "map_item_spec" // not contain "list_item_spec" or "map_item_spec"
ConstElementPtr findListOrMapSubSpec(ConstElementPtr spec_part) { ConstElementPtr findListOrMapSubSpec(ConstElementPtr spec_part) {
while (spec_part->getType() == Element::map && while (spec_part->getType() == Element::map &&
(spec_part->contains("list_item_spec") || (spec_part->contains("list_item_spec") ||
spec_part->contains("map_item_spec"))) { spec_part->contains("map_item_spec"))) {
if (spec_part->contains("list_item_spec")) { if (spec_part->contains("list_item_spec")) {
......
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