[Checkins] SVN: zope3org/trunk/src/zorg/live/globals.py Added a help method for debugging

Uwe Oestermeier uwe_oestermeier at iwm-kmrc.de
Wed May 17 07:03:13 EDT 2006


Log message for revision 68164:
  Added a help method for debugging

Changed:
  U   zope3org/trunk/src/zorg/live/globals.py

-=-
Modified: zope3org/trunk/src/zorg/live/globals.py
===================================================================
--- zope3org/trunk/src/zorg/live/globals.py	2006-05-17 08:29:27 UTC (rev 68163)
+++ zope3org/trunk/src/zorg/live/globals.py	2006-05-17 11:03:12 UTC (rev 68164)
@@ -35,7 +35,10 @@
                 return participation
     return defaultRequest
     
-
+def setRequest(request) :
+    global defaultRequest
+    defaultRequest = request
+    
 def getFullName(principal_id) :
     """ Returns the full name or title of a principal that can be used
         for better display.



More information about the Checkins mailing list