Fix syntax error
This commit is contained in:
parent
10ebcccedb
commit
4a3d7473fd
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ def parse_role_attrs(role_attr_flags):
|
|||
flag_set = frozenset(r.upper() for r in role_attr_flags.split(","))
|
||||
else:
|
||||
flag_set = frozenset(role_attr_flags.upper())
|
||||
if not flag_set.is_subset(VALID_FLAGS):
|
||||
if not flag_set.issubset(VALID_FLAGS):
|
||||
raise InvalidFlagsError('Invalid role_attr_flags specified: %s' %
|
||||
' '.join(flag_set.difference(VALID_FLAGS)))
|
||||
o_flags = ' '.join(flag_set)
|
||||
|
|
Loading…
Reference in a new issue