Skip to content

Commit

Permalink
Merge pull request #37424 from kojiromike/gpg-no-append-method-on-string
Browse files Browse the repository at this point in the history
Avoid Early Convert ret['comment'] to String
  • Loading branch information
Mike Place committed Nov 2, 2016
2 parents 2d56093 + ceb7735 commit cc84356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/states/gpg.py
Expand Up @@ -132,7 +132,7 @@ def present(name,
else:
ret['comment'].append('Invalid trust level {0}'.format(trust))

ret['comment'] = '\n'.join(ret['comment'])
ret['comment'] = '\n'.join(ret['comment'])
return ret


Expand Down Expand Up @@ -188,5 +188,5 @@ def absent(name,
ret['comment'].append('Deleting {0} from GPG keychain'.format(name))
else:
ret['comment'].append('{0} not found in GPG keychain'.format(name))
ret['comment'] = '\n'.join(ret['comment'])
ret['comment'] = '\n'.join(ret['comment'])
return ret

0 comments on commit cc84356

Please sign in to comment.