[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG - TextIndexCommon.py:1.2.2.3
Andreas Jung
andreas@digicool.com
Wed, 6 Feb 2002 10:39:59 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG
In directory cvs.zope.org:/tmp/cvs-serv9508
Modified Files:
Tag: ajung-textindexng-branch
TextIndexCommon.py
Log Message:
added debug_on/off()
=== Zope/lib/python/Products/PluginIndexes/TextIndexNG/TextIndexCommon.py 1.2.2.2 => 1.2.2.3 ===
sys.stdout.write('\n')
sys.stdout.flush()
+
+
+def debug_off():
+ global _debug
+ _debug = 0
+
+def debug_on():
+ global _debug
+ _debug = 1