mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix plint errors
Fix plint errors
This commit is contained in:
parent
ec20e9a19a
commit
f4f32421ab
1 changed files with 1 additions and 2 deletions
|
@ -481,7 +481,6 @@ def container_setting(name, container, settings=None):
|
|||
:param str container: The type of IIS container. The container types are:
|
||||
AppPools, Sites, SslBindings
|
||||
:param str settings: A dictionary of the setting names and their values.
|
||||
|
||||
Example of usage for the ``AppPools`` container:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
@ -533,7 +532,7 @@ def container_setting(name, container, settings=None):
|
|||
settings=settings.keys())
|
||||
for setting in settings:
|
||||
# map identity type from numeric to string for comparing
|
||||
if (setting == 'processModel.identityType' and settings[setting] in identityType_map2string.keys()):
|
||||
if setting == 'processModel.identityType' and settings[setting] in identityType_map2string.keys():
|
||||
settings[setting] = identityType_map2string[settings[setting]]
|
||||
|
||||
if str(settings[setting]) != str(current_settings[setting]):
|
||||
|
|
Loading…
Add table
Reference in a new issue