Commit 7cc41c0a authored by Sigmund Augdal's avatar Sigmund Augdal

Remove print statements

parent ebb8b02e
......@@ -137,9 +137,6 @@ class Client(object):
errmsg = ", ".join(error_doc.xpath('/m:error/m:innererror/m:message/text()', namespaces=namespaces))
if not errmsg:
errmsg = error_doc.xpath('/m:error/m:message/text()', namespaces=namespaces)[0]
print("Request failed with error: " + errtype)
print(errmsg)
print(data)
raise ODataException(errtype, errmsg, error_doc)
except etree.XMLSyntaxError as e2:
print("Did not get xml error from SPF")
......@@ -337,7 +334,6 @@ class VMMClient(Client):
guest_infos = self.query_collection("GuestInfos", query={"StampId": stampid, "VMId": vmid})
for guest_info in guest_infos:
addresses += guest_info.properties["IPv4Addresses"].split(";")
print(addresses)
except:
pass
addresses = [a for a in addresses if a]
......
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