view MoinMoin/wikixml/__init__.py @ 3085:fdb68a8f92da

fix wrong pagename when creating new pages on Mac OS X (ported from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 23 Feb 2008 00:28:53 +0100
parents bb2e053067fb
children
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - Package Initialization

    Subpackage containing XML support code.

    @copyright: 2001-2002 Juergen 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