Merge pull request #380 from renard/lldp-keep-whole-lines

[lldp] Merge wrapped lines.
This commit is contained in:
Brian Coca 2015-04-08 16:54:08 -04:00
commit fc87e8ae15

View file

@ -58,6 +58,8 @@ def gather_lldp():
path, value = entry.strip().split("=", 1)
path = path.split(".")
path_components, final = path[:-1], path[-1]
else:
value = current_dict[final] + '\n' + entry
current_dict = output_dict
for path_component in path_components: