##// END OF EJS Templates
Remove a rogue print statement
Gordon Ball -
Show More
@@ -83,7 +83,6 b' class _FloatRangeWidget(_FloatWidget):'
83 self.on_trait_change(self._validate, ['value', 'upper', 'lower'])
83 self.on_trait_change(self._validate, ['value', 'upper', 'lower'])
84
84
85 def _validate(self, name, old, new):
85 def _validate(self, name, old, new):
86 print '_IntRangeWidget::_validate', name, old, new
87 if name == 'value':
86 if name == 'value':
88 self.lower, self.upper = min(new), max(new)
87 self.lower, self.upper = min(new), max(new)
89 elif name == 'lower':
88 elif name == 'lower':
@@ -82,7 +82,6 b' class _IntRangeWidget(_IntWidget):'
82 self.on_trait_change(self._validate, ['value', 'upper', 'lower'])
82 self.on_trait_change(self._validate, ['value', 'upper', 'lower'])
83
83
84 def _validate(self, name, old, new):
84 def _validate(self, name, old, new):
85 print '_IntRangeWidget::_validate', name, old, new
86 if name == 'value':
85 if name == 'value':
87 self.lower, self.upper = min(new), max(new)
86 self.lower, self.upper = min(new), max(new)
88 elif name == 'lower':
87 elif name == 'lower':
General Comments 0
You need to be logged in to leave comments. Login now