#948: Do not use bare "except:"
Reporter:Erik Schnetter
Status:new
Milestone:
Version:
Type:bug
Priority:minor
Component:SimFactory

Changes (by Roland Haas):

assignee:Roland Haas (was Erik Schnetter)
responsible:[] (was [])

A bare "except:" (without listing an exception class) will intercept all exceptions, including the user typing control-C to abort. This should therefore not be used, except if (a) the code will abort anyway with an appropriate user-visible error message, or (b) the code will re-raise the exception via "raise".

In particular, Simfactory catches filesystem errors with bare excepts; this should be cleaned up.

Keyword:

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/948/do-not-use-bare-except