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/guiframe/local_perspectives/plotting/SectorSlicer.py

    r7432acb rb9d74f3  
    235235            msg = "Phi left and phi right are different" 
    236236            msg += " %f, %f" % (self.left_line.phi, self.right_line.phi) 
    237             raise ValueError, msg 
     237            raise ValueError(msg) 
    238238        params["Phi [deg]"] = self.main_line.theta * 180 / math.pi 
    239239        params["Delta_Phi [deg]"] = math.fabs(self.left_line.phi * 180 / math.pi) 
Note: See TracChangeset for help on using the changeset viewer.