mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix indention lint errors
This commit is contained in:
parent
545026352f
commit
13da50be33
1 changed files with 3 additions and 3 deletions
|
@ -1315,10 +1315,10 @@ def _maybe_set_tags(tags, obj):
|
|||
if tags:
|
||||
# Not all objects in Boto have an 'add_tags()' method.
|
||||
try:
|
||||
obj.add_tags(tags)
|
||||
obj.add_tags(tags)
|
||||
|
||||
except AttributeError:
|
||||
for tag, value in tags.items():
|
||||
obj.add_tag(tag, value)
|
||||
for tag, value in tags.items():
|
||||
obj.add_tag(tag, value)
|
||||
|
||||
log.debug('The following tags: {0} were added to {1}'.format(', '.join(tags), obj))
|
||||
|
|
Loading…
Add table
Reference in a new issue