catching my own exception
Nikola Skoric
nick-news at net4u.hr
Sat Jun 19 09:54:51 EDT 2010
Dana 18 Jun 2010 17:45:31 GMT,
Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> kaze:
> Other than that, I notice that your module throws away useful debugging
> information, and replaces it with bland, useless pap of no nutritional
> value:
>
> try:
> import account, fetch, resources, const
> except Exception:
> raise Exception('One or more travapi modules not available.')
Oh, yes, thanks for pointing that out, that was a dirty hack for
solving some error I was getting with pydoc. I'll remove that, thanks
for pointing that out.
--
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"
More information about the Python-list
mailing list