[Zope-dev] urgent: string exceptions

Christian Theune ct@gocept.com
11 Apr 2003 14:36:53 +0200


Problem is: I would need some module i could import that exception
from into the python script. at least telling me which module that
(w|c)ould be would bring me forward.

thanks


Am Fre, 2003-04-11 um 13.27 schrieb Lennart Regebro:
> Christian Theune wrote:
> > Urks. It's not like *I* throw them ... 
> 
> Yeah, I suspected that since otherwise you would just have fixed it 
> already. :)
> 
> Well, it's easy. Do a search for 'Raise "' and wrap the string in 
> 'Exception()' and your done. If you are really clever with sed (I'm not) 
> you can even to it automatically. :D
-- 
Christian Theune, gocept gmbh & co. kg
http://www.gocept.com - ct@gocept.com
fon: 03496 3099112 fax: 03496 3099118 mobile: 0179 7808366