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

cleanup + fixes

Ticket: CM-1438
Reviewed By:
Testing Done: Tested ifupdown sanity
This commit is contained in:
roopa
2014-03-25 15:21:19 -07:00
parent fa3da4be43
commit 53b0022499
4 changed files with 148 additions and 523 deletions

View File

@@ -335,9 +335,11 @@ class iface():
def dump_raw(self, logger):
indent = ' '
if self.auto:
print 'auto %s' %self.name
print (self.raw_config[0])
for i in range(1, len(self.raw_config)):
print (indent + self.raw_config[i])
print(indent + self.raw_config[i])
def dump(self, logger):
indent = '\t'