Re: Comments on pyblosxom

Joseph Reagle <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Organization MIT
Message-ID <[email protected]>
On Wednesday 06 August 2003 18:07, Wari Wahab wrote:
> Should work if you just mentioned conditionalhttp

Ooops, my fault. So I'm playing with pycategories.py now, and now that 
pycategories isn't working quite right. It's remove the first character of 
the path:


urd:/home/reagle/data/2web/reagle.org/joseph> blog | g "##"
</div>### elist is ['est/foo.txt', 'est/one/one.txt', 'est/second.txt']

If I change line 58 and 64 to:
          elist = [mem[len(root)+0:] for mem in elist]

it seems to work:

urd:/home/reagle/data/2web/reagle.org/joseph> blog | g "##"
</div>### elist is ['test/foo.txt', 'test/one/one.txt', 'test/second.txt']

Maybe this code was removing the first character of the mem presuming it had 
a "/"?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.