view MoinMoin/multiconfig.py @ 6111:1fdd537e9d83

SubProcess: reimplement exec_cmd subclassing Popen and overriding some methods isn't pretty. the code we have was written for py 2.4 or so and the py 2.7 Popen looked quite different. this way with the timer should be less problematic.
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Sep 2016 04:39:28 +0200
parents 4d1d491c3631
children
line wrap: on
line source
""" This is just a dummy file to overwrite MoinMoin/multiconfig.py(c) from a
    previous moin installation.

    The file moved to MoinMoin/config/multiconfig.py and you have to fix your
    imports as shown below.

    Alternatively, you can temporarily set show_configuration_error = False,
    so some compatibility code will get activated.
    But this compatibility code will get removed soon, so you really should
    update your config as soon as possible.
"""
show_configuration_error = True

if show_configuration_error:
    from MoinMoin.error import ConfigurationError
    raise ConfigurationError("""\
Please edit your wikiconfig/farmconfig and fix your DefaultConfig import:\r\n
\r\n
Old:   from MoinMoin.multiconfig import DefaultConfig\r\n
New:   from MoinMoin.config.multiconfig import DefaultConfig\r\n
\r\n
If you can't do that, but if you can change the MoinMoin code, see the file
MoinMoin/multiconfig.py for an alternative, but temporary workaround.
""")

else:
    from MoinMoin.config.multiconfig import *