summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2012-07-07 10:39:00 -0400
committerCole Robinson <crobinso@redhat.com>2012-07-07 10:39:00 -0400
commit090178984b2e1e10fee329617fee0066af3ffc78 (patch)
tree1925b8b716306ccedde3b2bc83fd01d879ea983c
parent983930d1daea466e0c7850d64105151a2fcaebdc (diff)
downloadvirt-manager-090178984b2e1e10fee329617fee0066af3ffc78.tar.gz
Fix some pylint
-rw-r--r--src/virtManager/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/virtManager/config.py b/src/virtManager/config.py
index 20c6a787..be097568 100644
--- a/src/virtManager/config.py
+++ b/src/virtManager/config.py
@@ -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