view MoinMoin/wikixml/__init__.py @ 35:f0af060fb82b

making people choose the right approach to page_front_page imported from: moin--main--1.5--patch-36
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 25 Sep 2005 14:45:38 +0000
parents 77665d8e2254
children bb2e053067fb
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - Package Initialization

    Subpackage containing XML support code.

    @copyright: 2001, 2002 by Jürgen Hermann <jh@web.de>
    @license: GNU GPL, see COPYING for details.
"""

try:
    from xml.sax import saxutils
    ok = hasattr(saxutils, 'quoteattr') # check for correct patch level
except ImportError:
    ok = 0