Re: Exception not captured

2005-01-11 Thread Nick Coghlan
Miki Tebeka wrote: I get to the second "except" clause, and the printout is: /home/mikit/work/nightly/scm/common.py:3 /home/mikit/work/nightly/scm/common.py:3 False How is this possible? Is line 3 inside a function? Then the class will be recreated anew each time the function is run. Has common.p

Re: Exception not captured

2005-01-11 Thread Roy Smith
In article <[EMAIL PROTECTED]>, Miki Tebeka <[EMAIL PROTECTED]> wrote: > print SCMError is e.__class__ > raise SystemExit > > I get to the second "except" clause, and the printout is: > /home/mikit/work/nightly/scm/common.py:3 > /home/mikit/work/nightly/scm/common.py:3 > False >

Re: Exception not captured

2005-01-11 Thread Peter Otten
Miki Tebeka wrote: > Hello All, > > Can someone please explain how is the following code fragment possible? > (If you're interested I can place the whole project somewhere). > > def checkout(dest, log): > '''Get latest version from SCM > > client - SCM client to use > dest -

Exception not captured

2005-01-11 Thread Miki Tebeka
Hello All, Can someone please explain how is the following code fragment possible? (If you're interested I can place the whole project somewhere). def checkout(dest, log): '''Get latest version from SCM client - SCM client to use dest - Destination directory ''' try: