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/pr/inversion_panel.py

    r7432acb rb9d74f3  
    854854                message += "than the number of points" 
    855855                wx.PostEvent(self._manager.parent, StatusEvent(status=message)) 
    856                 raise ValueError, message 
     856                raise ValueError(message) 
    857857            self.nfunc_ctl.SetBackgroundColour(wx.WHITE) 
    858858            self.nfunc_ctl.Refresh() 
Note: See TracChangeset for help on using the changeset viewer.