ID: 12251
Title: unitrends_replication.py: support for Python 2/Python 3
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 2.1.0i1
In Python version 2 the agent plugin 'unitrends_replication' crashed with the
error message:
Traceback (most recent call last):
File "unitrends_replication.py", line 11, in <module>
import urllib.request
ImportError: No module named request
The reason for this is that in previous Python versions "urllib.request" did not
exist.
This werk introduces an alternative handling of "urllib" for affected python
versions.