Skip to content
Snippets Groups Projects
Commit 2b509383 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Use C++ __FILE__ rather than Python __file__ to find indra work area.

In this case, the Python code in question is being written from a C++ string
literal to a temp script file in a platform-dependent temp directory -- so the
Python __file__ value tells you nothing about the location of the repository
checkout. Embedding __FILE__ from the containing C++ source file works better.
parent 15c36ee9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment