Commit 575f1865 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

wip: kvm/test

parent 7adf5ff6
...@@ -130,7 +130,7 @@ class MonitorAccessMixin(object): ...@@ -130,7 +130,7 @@ class MonitorAccessMixin(object):
if not connection_xml: if not connection_xml:
continue continue
connection_dict = slapos.util.xml2dict( connection_dict = slapos.util.xml2dict(
partition_information['connection_xml'].encode('utf-8')) connection_xml if six.PY3 else connection_xml.encode('utf-8'))
monitor_base_url = connection_dict.get('monitor-base-url') monitor_base_url = connection_dict.get('monitor-base-url')
if not monitor_base_url: if not monitor_base_url:
continue continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment