console: Don't generate spice URI with a user name

It doesn't even handle it
This commit is contained in:
Cole Robinson 2012-04-05 10:30:27 -04:00
parent a455ba72b6
commit 66b009c26e

View File

@ -528,10 +528,8 @@ class SpiceViewer(Viewer):
def open_host(self, ginfo, password=None):
host, port = ginfo.get_conn_host()
user = ginfo.connuser
uri = "spice://"
uri += (user and str(user) or "")
uri += str(host) + "?port=" + str(port)
logging.debug("spice uri: %s", uri)