diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-05 11:12:45 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-05 11:12:45 -0700 |
commit | 417d47d0482cc63f97c1b5fb95be40e993539b1e (patch) | |
tree | 5483107860e7fdc453905c4db0281c85ac6fb32c /third_party | |
parent | f7bab2b692cfa4cdf33185c123404848c268d02b (diff) |
path fixes
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/demangler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/demangler.py b/third_party/demangler.py index d5e52c39..d875d9a5 100644 --- a/third_party/demangler.py +++ b/third_party/demangler.py @@ -21,9 +21,9 @@ JS_ENGINE_PARAMS=[] import os, sys, subprocess, re -abspath = os.path.abspath(os.path.dirname(__file__)) +__rootpath__ = os.path.abspath(os.path.dirname(__file__)) def path_from_root(*pathelems): - return os.path.join(os.path.sep, *(abspath.split(os.sep)[:-1] + list(pathelems))) + return os.path.join(os.path.sep, *(__rootpath__.split(os.sep)[:-1] + list(pathelems))) exec(open(path_from_root('tools', 'shared.py'), 'r').read()) data = open(sys.argv[1], 'r').readlines() |