mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-10 20:22:36 +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)):
|
||||
return False
|
||||
else:
|
||||
return False
|
||||
raise KeyError
|
||||
|
||||
def __repr__(self):
|
||||
return '%s([%s])' % (self.__class__.__name__,
|
||||
|
Loading…
Reference in New Issue
Block a user