Changeset c31188611190d180f4a8acf1676221a6822bb580
- Timestamp:
- 01/06/08 15:36:19
(1 year ago)
- Author:
- William McBrine <wmcbrine@gmail.com>
- git-committer:
- William McBrine <wmcbrine@gmail.com> 1199655379 -0500
- git-parent:
[0281fc6c3aef3f7d00aa952c60be9bada83dda86]
- git-author:
- William McBrine <wmcbrine@gmail.com> 1199655379 -0500
- Message:
We really only want a single replacement here, too, although the chances of a
duplicate here are zero. But this should be a smidgen faster.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0281fc6 |
rc311886 |
|
| 76 | 76 | anchor = query['AnchorItem'][0] |
|---|
| 77 | 77 | if anchor.startswith(bs): |
|---|
| 78 | | anchor = anchor.replace(bs, '/') |
|---|
| | 78 | anchor = anchor.replace(bs, '/', 1) |
|---|
| 79 | 79 | anchor = unquote(anchor) |
|---|
| 80 | 80 | anchor = anchor.replace(os.path.sep + cname, local_base_path, 1) |
|---|