Fixed connection name with test:///default (Mark Johnson)

This commit is contained in:
Daniel P. Berrange 2007-06-15 16:57:51 -04:00
parent 5ee7268696
commit bb7fffa441
2 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ Further patches have been submitted by:
Mark Cave-Ayland <mark.cave-ayland-at-ilande-dot-co-dot-uk>
Richard W.M. Jones <rjones-at-redhat-dot-com>
Nobuhiro Itou <fj0873gn-at-aa-dot-jp-dot-fujitsu-dot-com>
Mark Johnson <johnson-dot-nh-at-gmail-dot-com>
<...send a patch & get your name here...>

View File

@ -189,6 +189,8 @@ class vmmConnection(gobject.GObject):
return "QEMU session: " + self.get_hostname()
else:
return "QEMU system: " + self.get_hostname()
else:
return self.get_type() + ":" + self.get_hostname()
def get_uri(self):