Updated Caper library

This commit is contained in:
Dean Gardiner
2013-10-16 14:58:44 +13:00
parent 8d24d96804
commit e3745b5d74
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class CaptureConstraint(object):
def _compare_eq(self, fragment, name, expected):
if not hasattr(fragment, name):
return None
return 1.0, False
return 1.0, getattr(fragment, name) == expected