2to3 -f except
[sfa.git] / sfa / client / multiclient.py
index 28b5b15..6bdf2b2 100644 (file)
@@ -17,7 +17,7 @@ def ThreadedMethod(callable, results, errors):
             def run(self):
                 try:
                     results.put(callable(*args, **kwds))
-                except Exception, e:
+                except Exception as e:
                     logger.log_exc('MultiClient: Error in thread: ')
                     errors.put(traceback.format_exc())