From c6d6d842d8d5a93334894f4d573fb9afc84fbee0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 20 Apr 2013 14:01:22 +0200 Subject: [PATCH] minor code cleanup --- Cython/Compiler/Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 33db288..44d89ca 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -322,7 +322,7 @@ class Context(object): "at top of source (cannot decode with encoding %r: %s)" % (encoding, msg)) if Errors.num_errors > 0: - raise CompileError + raise CompileError() return tree def extract_module_name(self, path, options): -- 2.7.4