python-ciscoconfparse
No description set
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/python-ciscoconfparse && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
ciscoconfparse-1.7.14.tar.gz | 0000152556 149 KB | |
python-ciscoconfparse.changes | 0000016038 15.7 KB | |
python-ciscoconfparse.spec | 0000002746 2.68 KB |
Revision 31 (latest revision is 32)
Dominique Leuenberger (dimstar_suse)
accepted
request 1064237
from
Dirk Mueller (dirkmueller)
(revision 31)
- update to 1.7.14: * Allow `CiscoConfParse()` to parse an empty configuration command list i.e. `CiscoConfParse([])`; remove the `ValueError()` raised on parsing an empty config. * Re-implement and simplify `CiscoConfParse().sync_diff()` with `HDiff()`. * Rename variables in `HDiff().compress_dict_diffs()`. * Rename dict_line to line and add the command indent * Add 'parents' to `HDiff()` diff dicts and add parent line output in `sync_diff()` * Expand `CiscoConfParse()` test coverage for reading files from disk * Fix `CiscoConfParse().read_config_file()` recursive call in `read_config_file()`. * Fix `CiscoConfParse().read_config_file()` missing `open()` in `read_config_file()`. * Fix file-open test escapes associated with github issue * Fix `CiscoConfParse().read_config_file()` argument name test escape (ref github issue #262) * Improve file `open()` error handling. NOTE: `FileNotFoundError()` is now raised for invalid file paths. * Improve edge case handling for Cisco IOS banner delimiters. * Remove `_validate_ConfigObjs()` and improve logic in `CiscoConfParse().__init__()`. * Revert back to using `read_config_file()` if the config is stored in a file. * Fix unit tests to work with version 1.7.8+ * Streamline `CiscoConfParse().__init__()` logic and delegate `__init__()` tasks to dedicated methods.
Comments 0