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

    r7432acb rb9d74f3  
    152152            if new_slab is None: 
    153153                msg = "post data:cannot average , averager is empty" 
    154                 raise ValueError, msg 
     154                raise ValueError(msg) 
    155155            self.averager = new_slab 
    156156        if self.direction == "X": 
     
    168168        else: 
    169169            msg = "post data:no Box Average direction was supplied" 
    170             raise ValueError, msg 
     170            raise ValueError(msg) 
    171171        # # Average data2D given Qx or Qy 
    172172        box = self.averager(x_min=x_min, x_max=x_max, y_min=y_min, y_max=y_max, 
Note: See TracChangeset for help on using the changeset viewer.