Module: check_mk
Branch: master
Commit: a40333f8b9489c13bdbaf8db1662b248986d47b9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a40333f8b9489c…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Jul 25 14:41:30 2018 +0200
Fixed and enabled consider-using-ternary warning.
Change-Id: I81525aa1fd2e7cf20f2363f3ab8b4ad647373e6b
---
checks/apc_symmetra | 2 +-
checks/apc_symmetra_ext_temp | 2 +-
checks/apc_symmetra_test | 2 +-
checks/check_http | 2 +-
checks/check_smtp | 2 +-
checks/cisco_qos | 2 +-
checks/docsis_channels_upstream | 3 +--
checks/etherbox | 2 +-
checks/f5_bigip.include | 2 +-
checks/hp_blade_blades | 2 +-
checks/hp_blade_manager | 2 +-
checks/hp_blade_psu | 5 +++--
checks/if.include | 14 +++++++-------
checks/kentix_motion | 2 +-
checks/mongodb_locks | 2 +-
checks/netapp_api_if | 2 +-
checks/netapp_api_snapshots | 2 +-
checks/netapp_api_status | 2 +-
checks/netapp_api_temp | 2 +-
checks/netapp_api_vf_status | 2 +-
checks/netapp_api_vs_status | 2 +-
checks/omd_apache | 2 +-
checks/printer_io.include | 4 ++--
checks/siemens_plc | 4 ++--
checks/strem1_sensors | 2 +-
checks/temperature.include | 4 ++--
checks/tinkerforge | 2 +-
checks/ucs_bladecenter_if | 2 +-
cmk/ec/history.py | 2 +-
cmk/gui/availability.py | 4 ++--
cmk/gui/bi.py | 10 +++++-----
cmk/gui/htmllib.py | 4 ++--
cmk/gui/plugins/sidebar/shipped.py | 2 +-
cmk/gui/plugins/visuals/filters.py | 4 ++--
cmk/gui/plugins/wato/bi.py | 2 +-
cmk/gui/plugins/wato/utils/__init__.py | 2 +-
cmk/gui/views.py | 2 +-
cmk/gui/wato/__init__.py | 9 ++++-----
cmk_base/automations/check_mk.py | 4 ++--
cmk_base/classic_snmp.py | 2 +-
cmk_base/core_config.py | 10 +++++-----
cmk_base/core_nagios.py | 8 ++++----
cmk_base/events.py | 8 ++++----
cmk_base/ip_lookup.py | 2 +-
inventory/mssql_versions | 4 ++--
tests/pylint/pylintrc | 1 -
46 files changed, 78 insertions(+), 80 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=a40333f8b9…