diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2014-10-09 19:26:45 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2014-10-09 19:26:45 +0200 |
commit | 38cb0633dee6cb2e083aee9acef96213f3e2ee3e (patch) | |
tree | bc8cfc7bd29851892c620c7efb2fcc53e0143fdb | |
parent | ccf535010f741dcc8d610204b5f822724c9a2558 (diff) | |
download | cython-38cb0633dee6cb2e083aee9acef96213f3e2ee3e.tar.gz |
fix broken name reference (probably after an incomplete refactoring)
--HG--
extra : transplant_source : %5ET%93%08%03d%EFC%C5X%D7%03%28%C4%EF%1DO%CC%1A%7C
-rw-r--r-- | Cython/Compiler/Main.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 2e8a10249..a9865a949 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -359,10 +359,9 @@ class Context(object): return ".".join(names) def setup_errors(self, options, result): - Errors.reset() # clear any remaining error state + Errors.reset() # clear any remaining error state if options.use_listing_file: - result.listing_file = Utils.replace_suffix(source, ".lis") - path = result.listing_file + path = result.listing_file = Utils.replace_suffix(result.main_source_file, ".lis") else: path = None Errors.open_listing_file(path=path, |