Previously, the index got out of sync with the actual config list. Invoked with lines: - bad - first - bad - second the sanitization would first delete index 0 and then index 2, which would result in the output - first - bad By reversing the list, we avoid that problem (though a filter() would be nicer) |
||
---|---|---|
.. | ||
__init__.py | ||
edgeos_command.py | ||
edgeos_config.py | ||
edgeos_facts.py |