Werk #5276: cmk-update-agent: Restore compatibility to older python versions (Regression since 1.4.0p25)

Component Agent bakery
Title cmk-update-agent: Restore compatibility to older python versions (Regression since 1.4.0p25)
Date Apr 16, 2018
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.4.0p31 Checkmk Enterprise (CEE), Checkmk MSP (CME)

This werk fixes an issue that occurs when cmk-update-agent is executed with a Python version of 2.5 or earlier. It would crash with an error message like

except IOError as exc:
               ^
SyntaxError: invalid syntax

To the list of all Werks