1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Fix pep8 errors

This commit is contained in:
Benjamin Renard 2016-04-16 15:06:39 +02:00
parent ee2b97d62f
commit e1d3be17f1
3 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ class wvmInstances(wvmConnect):
dom = self.get_instance(name)
xml = dom.XMLDesc(VIR_DOMAIN_XML_SECURE)
self.wvm.defineXML(xml)
def graphics_type(self, name):
inst = self.get_instance(name)
console_type = util.get_xml_path(inst.XMLDesc(0), "/domain/devices/graphics/@type")