Ticket #9452 (closed defect: fixed)
strip_automount_prefix() is useless
| Reported by: | rlm | Owned by: | tbd |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.7 |
| Component: | distribution | Keywords: | |
| Cc: | was | Work issues: | |
| Report Upstream: | N/A | Reviewers: | William Stein |
| Authors: | Jason Grout | Merged in: | sage-4.7.alpha1 |
| Dependencies: | Stopgaps: |
Description
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)) ---
return 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().
Attachments
Change History
comment:4 Changed 2 years ago by jdemeyer
- Reviewers set to William Stein
- Milestone changed from sage-4.6.2 to sage-feature
What exactly is the problem that this patch is supposed to fix? The description is very unclear...
Note: See
TracTickets for help on using
tickets.

