mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix some pylint
This commit is contained in:
parent
983930d1da
commit
090178984b
@ -168,7 +168,8 @@ class vmmConfig(object):
|
||||
import SpiceClientGtk
|
||||
ignore = SpiceClientGtk
|
||||
self._spice_error = False
|
||||
except Exception, self._spice_error:
|
||||
except Exception, e:
|
||||
self._spice_error = e
|
||||
logging.debug("Error importing spice: %s", self._spice_error)
|
||||
|
||||
return self._spice_error and str(self._spice_error) or None
|
||||
|
Loading…
Reference in New Issue
Block a user