diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-02-14 14:53:21 -0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-02-14 14:58:55 -0800 |
commit | 3b538a7206670e73018a3acb00ee52f517dae6cd (patch) | |
tree | 3660ced96e886d6655db39b51963987a6afa5175 /source/blog/2015-02-10-monitor-progress-of-your-unix-pipes-with-pv.md | |
parent | d0c911e6163033aaa8129a18125948d76fa9b8d4 (diff) | |
download | my_new_personal_website-3b538a7206670e73018a3acb00ee52f517dae6cd.tar.xz my_new_personal_website-3b538a7206670e73018a3acb00ee52f517dae6cd.zip |
pyblog: Fix bug in exclude list feature
Previously exclude_list is a list of relative paths, and it is hard to
deal with "./" resulted from joining an empty root with a name, thus
exclude list items in the root directory (e.g., ./template.html) aren't
really excluded. Not to mention the awkward trailing slash handling, and
other resolution issues (mainly ..).
In this commit we switch to an absolute exclude_list, eliminating the
aforementioned bug and simplifing exclude_list queries.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions