Re: pycategories installation verification routine
Klaus Trainer <klaus.trainer-S0/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry, guys, after looking at pycategroies.py again, I've noticed that I've made a mountain out of a molehill; so please forget my previous posting. The "missing" config property in pycategories is actually not missing, it should only be referenced as 'category_item' instead of 'category_template' in the installation verification routine. Greetings, Klaus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Pyblosxom-devel mailing list Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
pycategories.patch
(text/x-patch, 670 B)
--- pycategories.py 2008-04-17 22:49:23.000000000 +0200
+++ my_pycategories.py 2008-04-17 22:53:59.000000000 +0200
@@ -90,8 +90,8 @@
def verify_installation(request):
config = request.getConfiguration()
- if not config.has_key("category_template"):
- print "missing optional config property 'category_template' which allows "
+ if not config.has_key("category_item"):
+ print "missing optional config property 'category_item' which allows "
print "you to specify how the category hierarchy is rendered. see"
print "the documentation at the top of the pycategories plugin code "
print "file for more details."