mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
last pylint!
This commit is contained in:
parent
892591a39c
commit
f8b4b1b211
1 changed files with 2 additions and 2 deletions
|
@ -549,7 +549,7 @@ class Schema(six.with_metaclass(SchemaMeta, object)):
|
|||
cls.after_items_update = []
|
||||
for name in cls._order:
|
||||
skip_order = False
|
||||
if name in cls._sections: # pylint: disable=E1133
|
||||
if name in cls._sections: # pylint: disable=E1135
|
||||
section = cls._sections[name]
|
||||
serialized_section = section.serialize(None if section.__flatten__ is True else name)
|
||||
if section.__flatten__ is True:
|
||||
|
@ -567,7 +567,7 @@ class Schema(six.with_metaclass(SchemaMeta, object)):
|
|||
# Store it as a configuration section
|
||||
properties[name] = serialized_section
|
||||
|
||||
if name in cls._items: # pylint: disable=E1133
|
||||
if name in cls._items: # pylint: disable=E1135
|
||||
config = cls._items[name]
|
||||
# Handle the configuration items defined in the class instance
|
||||
if config.__flatten__ is True:
|
||||
|
|
Loading…
Add table
Reference in a new issue