search for: old_conn

Displaying 1 result from an estimated 1 matches for "old_conn".

Did you mean: old_cont
2009 Dec 21
2
[PATCH] Fixed errors when the user selects a different remove libvirt host.
...the underlying connection.''' return self.__conn + def get_url(self): + return self.__url + def open_connection(self, url): '''Lets the user change the url for the connection.''' - self.__conn = libvirt.open(url) + old_conn = self.__conn + old_url = self.__url + try: + self.__conn = libvirt.open(url) + self.__url = url + set_default_url(url) + except Exception, error: + self.__conn = old_conn + self.__url = old_url + raise error...