Skip Menu |

This queue is for tickets about the Cisco-Reconfig CPAN distribution.

Report information
The Basics
Id: 48666
Status: resolved
Priority: 0/
Queue: Cisco-Reconfig

People
Owner: Nobody in particular
Requestors: micah [...] kemp.tv
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Inconsistent Spacing
Date: Wed, 12 Aug 2009 16:03:28 -0500
To: bug-Cisco-Reconfig [...] rt.cpan.org
From: Micah Kemp <micah [...] kemp.tv>

Message body is not shown because sender requested not to inline it.

David, I wanted to thank you for the Cisco::Reconfig module, as it helped me with an odd problem I faced. There is one odd thing I noticed (and I saw others via Google with the same problem). The module causes the script to die when inconsistent spacing is found. In my case, it was a line being one space fewer indented than the previous line. I see how this presents a problem for the config reader, as it's ambiguous as to how this line fits in the config. However, would it also work to issue a warning, then skip the line? If so, please consider the committing (or editing to your liking, then committing) the patch I have attached to your repository. Thanks again, -micah
Fixed in 0.9