mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Fix capability checks.
This commit is contained in:
parent
8211aab92e
commit
b5c99b1ce1
@ -153,7 +153,7 @@ class CapabilitySet(set):
|
|||||||
elif self.__parent.__contains__(_invert(capability)):
|
elif self.__parent.__contains__(_invert(capability)):
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
return False
|
raise KeyError
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '%s([%s])' % (self.__class__.__name__,
|
return '%s([%s])' % (self.__class__.__name__,
|
||||||
|
Loading…
Reference in New Issue
Block a user