Re: Pyblosxom permalinks are not permanent

will <[email protected]> Thu, 10 Sep 2009 19:01:19 -0400
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Steve Hoelzer wrote:
> 
> Umm, nope. This is wrong. That only applies to the categories and
> doesn't check if date archives result in an identical path.
> 
> The real fix is to use sorted(set(...)) on 'renderme' near the end of
> runstaticrenderer(). The middle lines are new:
> 
>     print "building %s files." % len(renderme)
> 
>     # date archives and categories may give identical paths, so remove
> duplicates
>     renderme = sorted(set(renderme))
> 
>     for url, q in renderme:

Nice!  I tested it out and it looks good to me.  Checked in as r1337.

Thank you!

/will

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july