.svn directories showing up
2004-02-12
1 minute read

Of course, after converting my blog to SVN, it seems like pyblosxom decided that traversing through all my .svn dirs was an excellent idea. I disagree, of course. After finding out that the filter plugin on Pyblosxom’s home page wasn’t there, I sat down and wrote my own. Fairly trivial and also hard-coded.

def cb_prepare(args):
    request = args["request"]
    data = request.getData()
    for entry in data['entry_list'][:]:
        filename = entry.get('filename')
        if "/.svn" in filename:
            data['entry_list'].remove(entry)

That’s all that was needed.

Back to posts