Edgewall Software

Changes between Version 2 and Version 3 of GenshiRecipes/web2py


Ignore:
Timestamp:
Apr 12, 2011 8:34:21 PM (4 years ago)
Author:
dale.nottingham@…
Comment:

updated Genshi imports for namespace changes

Legend:

Unmodified
Added
Removed
Modified
  • GenshiRecipes/web2py

    v2 v3  
    3939
    4040try:
    41     from genshi.template import TemplateLoader, Context, TemplateNotFound, TemplateSyntaxError
     41    from genshi import HTML
    4242    from genshi.filters.html import HTMLFormFiller
    43     from genshi import HTML
     43    from genshi.template import Context, TemplateSyntaxError
     44    from genshi.template.loader import TemplateLoader, TemplateNotFound
    4445    Genshi = True
    4546    READLIMIT=512