view MoinMoin/scripts/ @ 325:1307d18233ed

avoid breaking lupy index by disabling optimize script imported from: moin--main--1.5--patch-329
author Thomas Waldmann <>
date Sun, 18 Dec 2005 14:16:53 +0000
parents 55ff4feb0f59
children 368e6a8e4f98
line wrap: on
line source
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-
MoinMoin - optimize lupy search engine's index

You must run this script as owner of the wiki files, usually this is the
web server user.

@copyright: 2005 by Florian Festi, Nir Soffer
@license: GNU GPL, see COPYING for details.

import os

# Insert the path to MoinMoin in the start of the path
import sys

sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]), 
                                os.pardir, os.pardir))

print """
Until the following bug is closed, we avoid running this script:

If you like, help us finding the problem.

Terminating now, doing NOTHING...

from MoinMoin.scripts.moin_build_index import IndexScript
from MoinMoin.request import RequestCLI
from MoinMoin.lupy import Index

class OptimizeIndex(IndexScript):
    def command(self):

def run():

if __name__ == "__main__":