devtools/stresstester.py
changeset 8695 358d8bed9626
parent 7815 2a164a9cf81c
child 10589 7c23b7de2b8d
--- a/devtools/stresstester.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/devtools/stresstester.py	Thu Feb 14 15:38:25 2013 +0100
@@ -132,7 +132,7 @@
         opts, args = getopt.getopt(args, 'hn:t:u:p:P:o:', ['help', 'user=', 'password=',
                                                            'nb-times=', 'nb-threads=',
                                                            'profile', 'report-output=',])
-    except Exception, ex:
+    except Exception as ex:
         print ex
         usage(1)
     repeat = 100