On Thursday 17 August 2006 2:39 pm, Gabriel Genellina wrote:
> This is unrelated to your main question, but using string exceptions
> is discouraged...
Yeah, I'm in the process of gradually upgrading from "look at me, I'm
learning Python!" code to something a little more presentable.
--
Kirk St
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...
Ga