Back to index

moin  1.9.0~rc2
multiconfig.py
Go to the documentation of this file.
00001 """ This is just a dummy file to overwrite MoinMoin/multiconfig.py(c) from a
00002     previous moin installation.
00003 
00004     The file moved to MoinMoin/config/multiconfig.py and you have to fix your
00005     imports as shown below.
00006 
00007     Alternatively, you can temporarily set show_configuration_error = False,
00008     so some compatibility code will get activated.
00009     But this compatibility code will get removed soon, so you really should
00010     update your config as soon as possible.
00011 """
00012 show_configuration_error = True
00013 
00014 if show_configuration_error:
00015     from MoinMoin.error import ConfigurationError
00016     raise ConfigurationError("""\
00017 Please edit your wikiconfig/farmconfig and fix your DefaultConfig import:\r\n
00018 \r\n
00019 Old:   from MoinMoin.multiconfig import DefaultConfig\r\n
00020 New:   from MoinMoin.config.multiconfig import DefaultConfig\r\n
00021 \r\n
00022 If you can't do that, but if you can change the MoinMoin code, see the file
00023 MoinMoin/multiconfig.py for an alternative, but temporary workaround.
00024 """)
00025 
00026 else:
00027     from MoinMoin.config.multiconfig import *
00028