diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-05-18 18:37:17 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-05-18 18:37:17 +0000 |
commit | 53f5cced06f25dc49cedf1a3fb181201b727a521 (patch) | |
tree | 17283c382777c33216bb2d533a1bc72dfb80cc01 /libbe | |
parent | 52ba04aec5b23244aa2c15ab666024d7b9e0015f (diff) | |
download | bugseverywhere-53f5cced06f25dc49cedf1a3fb181201b727a521.tar.gz |
Normalized paths before use in rel_filename
Diffstat (limited to 'libbe')
-rw-r--r-- | libbe/arch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbe/arch.py b/libbe/arch.py index 55daed0..e2d867f 100644 --- a/libbe/arch.py +++ b/libbe/arch.py @@ -74,6 +74,8 @@ def tree_root(filename): return invoke_client("tree-root", dirname).rstrip('\n') def rel_filename(filename, root): + filename = os.path.realpath(filename) + root = os.path.realpath(root) assert(filename.startswith(root)) return filename[len(root)+1:] |