Fixed exception print out & removed bogus statement

This commit is contained in:
Daniel P. Berrange 2006-06-28 09:17:11 -04:00
parent 4470b01559
commit 8aa6ea7a3c
2 changed files with 1 additions and 2 deletions

View File

@ -196,7 +196,7 @@ class vmmConsole(gobject.GObject):
else:
self.try_login()
except:
print "Couldn't open console " + str(sys.exc_info())
print "Couldn't open console " + str(sys.exc_info()[0]) + " " + str(sys.exc_info()[1])
self.ignorePause = False
self.ignorePause = False

View File

@ -234,7 +234,6 @@ class vmmDomain(gobject.GObject):
# XXX don't hardcode me! need to really extract info from
# the libvirt XML as & when the display device info gets
# added
prin
return ["vnc", "localhost", 5900 + self.get_id()]