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/fitpanel.py

    r67b0a99 rb9d74f3  
    125125        if uid not in self.opened_pages: 
    126126            msg = "Fitpanel cannot find ID: %s in self.opened_pages" % str(uid) 
    127             raise ValueError, msg 
     127            raise ValueError(msg) 
    128128        else: 
    129129            return self.opened_pages[uid] 
     
    389389        """ 
    390390        if data.__class__.__name__ != "list": 
    391             raise ValueError, "Fitpanel delete_data expect list of id" 
     391            raise ValueError("Fitpanel delete_data expect list of id") 
    392392        else: 
    393393            for page in self.opened_pages.values(): 
Note: See TracChangeset for help on using the changeset viewer.