Ignore:
Timestamp:
Sep 11, 2018 9:47:02 AM (6 years ago)
Author:
krzywon
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
4fdcc65
Parents:
9dc1500
Message:

File loader code cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/loader.py

    r4a8d55c r8d5e11c  
    367367            try: 
    368368                return fn(path, data) 
    369             except Exception: 
     369            except Exception as exep: 
    370370                pass  # give other loaders a chance to succeed 
    371371        # If we get here it is because all loaders failed 
    372         raise  # reraises last exception 
     372        raise exep # raises last exception 
    373373 
    374374 
Note: See TracChangeset for help on using the changeset viewer.