[Zope-Checkins] CVS: Zope/lib/python/Products/ExternalMethod - ExternalMethod.py:1.50
   
    Shane Hathaway
     
    shane@cvs.zope.org
       
    Thu, 1 Aug 2002 14:00:58 -0400
    
    
  
Update of /cvs-repository/Zope/lib/python/Products/ExternalMethod
In directory cvs.zope.org:/tmp/cvs-serv27797
Modified Files:
	ExternalMethod.py 
Log Message:
Only call manage_main if REQUEST is provided.
=== Zope/lib/python/Products/ExternalMethod/ExternalMethod.py 1.49 => 1.50 ===
     
     i=ExternalMethod(id,title,module,function)
     self._setObject(id,i)
-    return self.manage_main(self,REQUEST)
+    if REQUEST is not None:
+        return self.manage_main(self,REQUEST)
 
 class ExternalMethod(OFS.SimpleItem.Item, Persistent, Acquisition.Explicit,
                      AccessControl.Role.RoleManager, Navigation):