-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday 21 March 2007 03:43 PM, Kenneth Gonsalves cobbled together some glyphs to say:
may cause a crash if he is too modest to accept it:
try: credit.reDirect("roshan") except: print "he has declined the honour"
It's wrong to catch all exceptions like that. The code should be like this --
try: credit.redirect("Roshan") except CreditRedirectionError: print "He has declined the honour"
;)
Regards, BG
- -- Baishampayan Ghose b.ghose@ubuntu.com Ubuntu -- Linux for Human Beings http://www.ubuntu.com/
1024D/86361B74 BB2C E244 15AD 05C5 523A 90E7 4249 3494 8636 1B74