Ticket #9452 (closed defect: fixed)
strip_automount_prefix() is useless
|Reported by:||rlm||Owned by:||tbd|
|Report Upstream:||N/A||Reviewers:||William Stein|
|Authors:||Jason Grout||Merged in:||sage-4.7.alpha1|
We wrote the strip_automount_prefix() function for sage-test to get around problems with automounted file system having wierd mount points. Unfotunately the strip_automount_prefix() does not work at all!
Here is a patch:
% diff sage-test.old sage-test.new 20c20 < return strip_automount_prefix(os.path.abspath(x)) ---
57c57 < f = g[len(SAGE_ROOT)+1:] ---
f = g[g.find(SAGE_ROOT)+len(SAGE_ROOT)+1:]
You can remove - or deprecate - the function strip_automount_prefix().
- Reviewers set to William Stein
- Milestone changed from sage-4.6.2 to sage-feature