Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change a few list sorting orders in generated code
This commit combines two changes that have only a non-functional impact on generated Python code: o The enumeration lists (namedValues) are sorted by numeric value rather than by name. The new sorting order is more in line with what is found in most MIBs, usually easier to read, and more consistent with the sorting order before the introduction of Jinja2 templates. o The static list of imported constraint classes is rearranged to be alphabetic. The previous order made little sense. Seeing as neither aspect should be relied upon, no tests are added here.
- Loading branch information