Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 1f01455f382e5226471c1530db4a8beb731bb952
https://github.com/tribe29/checkmk/commit/1f01455f382e5226471c1530db4a8beb7…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2020-04-17 (Fri, 17 Apr 2020)
Changed paths:
M cmk/base/snmp.py
M tests-py3/unit/cmk/base/test_snmp_unit.py
Log Message:
-----------
Reorganize code in `get_snmp_table()`
- Refactor to have a single `columns.append()`.
- Replace for/if/continue with for/if/else.
- Consistently set value_encoding
CMK-4244
Change-Id: Idddc4358e8bf8873ac9c0ebfe3655746fbb8f151