Fix capability checks.

This commit is contained in:
Valentin Lorentz 2012-08-04 15:57:51 +02:00
parent 8211aab92e
commit b5c99b1ce1
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class CapabilitySet(set):
elif self.__parent.__contains__(_invert(capability)):
return False
else:
return False
raise KeyError
def __repr__(self):
return '%s([%s])' % (self.__class__.__name__,