1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Fix a few syntax checker bugs

Ticket: CM-2302
Reviewed By:
Testing Done: Tested ifupdown syntax checker + sanity

Also includes fixes to some of the sytax checker problems mentioned in
CM-2509
This commit is contained in:
roopa
2014-04-08 14:50:15 -07:00
parent 7a51240ec2
commit 7949b8a51a
3 changed files with 34 additions and 22 deletions

View File

@@ -131,7 +131,6 @@ class ifaceJsonEncoder(json.JSONEncoder):
retconfig[k] = v[0]
else:
retconfig[k] = v
return OrderedDict({'name' : o.name,
'addr_method' : o.addr_method,
'addr_family' : o.addr_family,