From 43bef56786bdfb9bd591ad6f80c081f1a153fc74 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 15 Aug 2008 04:42:43 +0200 Subject: [PATCH] removed debug code --- Cython/Compiler/Main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 723d2547..9f9c4dfd 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -397,8 +397,8 @@ class Context: finally: f.close() except UnicodeDecodeError, msg: - import traceback - traceback.print_exc() + #import traceback + #traceback.print_exc() error((source_desc, 0, 0), "Decoding error, missing or incorrect coding= at top of source (%s)" % msg) if Errors.num_errors > 0: raise CompileError -- 2.26.2