Read update file as utf-8 (#55253)

This commit is contained in:
Jiri Tyr 2019-09-04 02:54:10 +01:00 committed by ansibot
parent 091ab12692
commit 47ce938121

View file

@ -561,7 +561,7 @@ class JenkinsPlugin(object):
# Open the updates file # Open the updates file
try: try:
f = open(updates_file) f = open(updates_file, encoding='utf-8')
except IOError as e: except IOError as e:
self.module.fail_json( self.module.fail_json(
msg="Cannot open temporal updates file.", msg="Cannot open temporal updates file.",