Ignore:
Timestamp:
Apr 20, 2017 6:29:34 AM (8 years ago)
Author:
andyfaff
Children:
0cc77d8
Parents:
b636dfc5
git-author:
Andrew Nelson <andyfaff@…> (04/20/17 06:25:57)
git-committer:
Andrew Nelson <andyfaff@…> (04/20/17 06:29:34)
Message:

MAINT: use raise Exception() not raise Exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/pagestate.py

    r959eb01 rb9d74f3  
    10141014            msg = "PageState no longer supports non-CanSAS" 
    10151015            msg += " format for fitting files" 
    1016             raise RuntimeError, msg 
     1016            raise RuntimeError(msg) 
    10171017 
    10181018        if node.get('version'): 
     
    13101310            else: 
    13111311                self.call_back(format=ext) 
    1312                 raise RuntimeError, "%s is not a file" % path 
     1312                raise RuntimeError("%s is not a file" % path) 
    13131313 
    13141314            # Return output consistent with the loader's api 
Note: See TracChangeset for help on using the changeset viewer.