Releases: peakwinter/python-nginx
Releases · peakwinter/python-nginx
1.0
Changed
- Some API changes:
all()
methods replaced withchildren
propertyas_list()
methods replaced withas_list
propertyas_dict()
methods replaced withas_dict
propertyas_block()
methods replaced withas_strings
propertyconf.server
convenience property, for getting first server found in the Conf
- Added
inline
property toComment
: set toTrue
if you want the comment to be appended to the end of the previous line on dump - Added loading of inline code comments.
- Cleaned code for full PEP8 compatibility and added comments.
- Added simple tests.
Fixed
- Fixed a bug where unexpected behaviour would occur when a pound symbol was used inside a key value.