Changeset b9d74f3 in sasview for src/sas/sasgui/plottools/binder.py
- Timestamp:
- Apr 20, 2017 6:29:34 AM (8 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/plottools/binder.py
r463e7ffc rb9d74f3 187 187 # Check that the trigger is valid 188 188 if trigger not in self._actions: 189 raise ValueError ,"%s invalid --- valid triggers are %s"\190 % (trigger, ", ".join(self.events)) 189 raise ValueError("%s invalid --- valid triggers are %s"\ 190 % (trigger, ", ".join(self.events))) 191 191 192 192 # Register the trigger callback … … 203 203 """ 204 204 if action not in self.events: 205 raise ValueError , "Trigger expects " + ", ".join(self.events)205 raise ValueError("Trigger expects " + ", ".join(self.events)) 206 206 207 207 # Tag the event with modifiers
Note: See TracChangeset
for help on using the changeset viewer.