[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Change warning to exception in testcase.py

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-09-11 09:12:12 CEST

B. W. Fitzpatrick wrote:

>=?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu> writes:
>
>
>>Why on earth do you need a new exception class and handler? instead of
>>raising this exception and catching it in the same try block, just print
>>an error message and exit, right?
>>
>>
>
>Not quite. The test is applied in the try block, and if I exit in the
>try block, it's caught below in the 'except SystemExit' block and it
>makes for a not-so-nice exit, so I've gotta do something other than just
>exit.... any suggestions?
>
>
Oh argh -- you're right. Yuck. Leave it the way it is, then.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 11 09:12:58 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.