Permalink
Browse files

minor bug fix

wanted reference to variable `name`, not the string '`name`'
  • Loading branch information...
CesiumLifeJacket authored and rjbs committed Sep 5, 2015
1 parent 57d73d2 commit e0368c952ba164cb54c25394b4a4cf172489b588
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/Rx.py
View
@@ -327,7 +327,7 @@ def validate(self, value, name='value'):
raise SchemaTypeMismatch(name,'integer')
if self.range:
- self.range(value, 'name')
+ self.range(value, name)
if self.value is not None and value != self.value:
raise SchemaValueMismatch(name, self.value)

0 comments on commit e0368c9

Please sign in to comment.