Created
February 3, 2015 11:57
-
-
Save wence-/21eb7701925d662942f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/pyop2/compilation.py b/pyop2/compilation.py | |
| index 1a9db26..7e7036a 100644 | |
| --- a/pyop2/compilation.py | |
| +++ b/pyop2/compilation.py | |
| @@ -102,6 +102,8 @@ class Compiler(object): | |
| logfile = os.path.join(cachedir, "%s.log" % basename) | |
| errfile = os.path.join(cachedir, "%s.err" % basename) | |
| with progress(INFO, 'Compiling wrapper'): | |
| + import traceback | |
| + traceback.print_stack() | |
| with file(cname, "w") as f: | |
| f.write(src) | |
| # Compiler also links |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment