From 6f172e582e67ba6b9d93395b0f7cc576281b86b0 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 22 Mar 2019 20:19:07 +0100 Subject: fix some Exceptions --- src/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mysql.py') diff --git a/src/mysql.py b/src/mysql.py index fa1c81c..e3f1f0f 100644 --- a/src/mysql.py +++ b/src/mysql.py @@ -126,7 +126,7 @@ class Benchmark_MYSQL(Benchmark): print_debug("Stdout:", p.stdout, file=sys.stderr) print_debug("Stderr:", p.stderr, file=sys.stderr) self.terminate_server() - raise("Preparing test tables failed with:", p.returncode) + raise Exception("Preparing test tables failed with:", p.returncode) self.terminate_server() -- cgit v1.2.3