From 090178984b2e1e10fee329617fee0066af3ffc78 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sat, 7 Jul 2012 10:39:00 -0400 Subject: [PATCH] Fix some pylint --- src/virtManager/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/virtManager/config.py b/src/virtManager/config.py index 20c6a7875..be097568d 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