[Zope-Checkins] SVN: Zope/trunk/src/ZServer/PubCore/__init__.py A hint for the next person who gets very confused when importing something a second time doesn't work.

Martin Aspeli optilude at gmx.net
Thu Apr 8 11:55:42 EDT 2010


Log message for revision 110660:
  A hint for the next person who gets very confused when importing something a second time doesn't work.

Changed:
  U   Zope/trunk/src/ZServer/PubCore/__init__.py

-=-
Modified: Zope/trunk/src/ZServer/PubCore/__init__.py
===================================================================
--- Zope/trunk/src/ZServer/PubCore/__init__.py	2010-04-08 15:54:42 UTC (rev 110659)
+++ Zope/trunk/src/ZServer/PubCore/__init__.py	2010-04-08 15:55:42 UTC (rev 110660)
@@ -24,6 +24,8 @@
     return apply(_handle, args, kw)
 
 def setNumberOfThreads(n):
+    """This function will self-destruct in 4 statements.
+    """
     global _n
     _n=n
     global setNumberOfThreads



More information about the Zope-Checkins mailing list