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
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 1.4.0p31
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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