changeset 325:1307d18233ed

avoid breaking lupy index by disabling optimize script imported from: moin--main--1.5--patch-329
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 18 Dec 2005 14:16:53 +0000
parents 50af23dadd9a
children 4a7b7dc46df7
files MoinMoin/scripts/moin_optimize_index.py
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/scripts/moin_optimize_index.py	Sun Dec 18 00:04:57 2005 +0000
+++ b/MoinMoin/scripts/moin_optimize_index.py	Sun Dec 18 14:16:53 2005 +0000
@@ -14,9 +14,21 @@
 
 # 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:
+
+http://moinmoin.wikiwikiweb.de/MoinMoinBugs/LupyOptimizeBreaksIndex
+
+If you like, help us finding the problem.
+
+Terminating now, doing NOTHING...
+"""
+sys.exit(1)
+
 from MoinMoin.scripts.moin_build_index import IndexScript
 from MoinMoin.request import RequestCLI
 from MoinMoin.lupy import Index