Changeset ee8f734 in sasmodels for sasmodels/data.py


Ignore:
Timestamp:
Apr 6, 2016 5:52:02 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
541e7c9
Parents:
398aa94
Message:

only use bare except when annotating an exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/data.py

    rd6f5da6 ree8f734  
    358358        try: 
    359359            return fn(*args, **kw) 
    360         except KeyboardInterrupt: 
    361             raise 
    362         except: 
     360        except Exception: 
    363361            traceback.print_exc() 
    364362 
Note: See TracChangeset for help on using the changeset viewer.