8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 775d8aa commit ea9ceb4Copy full SHA for ea9ceb4
mamonsu/tools/zabbix_cli/operations.py
@@ -5,7 +5,12 @@
5
import json
6
from mamonsu.tools.zabbix_cli.request import Request
7
from mamonsu.lib.parser import zabbix_msg
8
-from pkg_resources import packaging
+
9
+try:
10
+ from pkg_resources import packaging
11
+except ImportError:
12
+ import packaging.version
13
14
from mamonsu.tools.zabbix_cli.dashboard import generate_dashboard
15
16
mamonsu/tools/zabbix_cli/request.py
@@ -4,8 +4,11 @@
4
import logging
from collections import OrderedDict
import urllib.request as urllib2
0 commit comments