[Zope] Some users can't view sent PDFs anymore

Gabriel Genellina gagsl-zope at yahoo.com.ar
Thu Aug 17 15:39:08 EDT 2006


At Thursday 17/8/2006 11:41, Kirk Strauser wrote:

>     stockexception = 'FileUnavailableError'
>
>     # Does the file exist?
>     if not filename in context.files.objectIds():
>         raise stockexception

This is unrelated to your main question, but using string exceptions 
is discouraged...


Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



More information about the Zope mailing list