Read update file as utf-8 (#55253)
This commit is contained in:
parent
091ab12692
commit
47ce938121
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ class JenkinsPlugin(object):
|
|||
|
||||
# Open the updates file
|
||||
try:
|
||||
f = open(updates_file)
|
||||
f = open(updates_file, encoding='utf-8')
|
||||
except IOError as e:
|
||||
self.module.fail_json(
|
||||
msg="Cannot open temporal updates file.",
|
||||
|
|
Loading…
Reference in a new issue