/usr/share/pyshared/MoinMoin/multiconfig.py is in python-moinmoin 1.9.3-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | """ 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 *
|