Fix indention lint errors

This commit is contained in:
Drew Malone 2017-02-23 18:40:52 -05:00
parent 545026352f
commit 13da50be33

View file

@ -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))