mirror of
https://github.com/certbot/certbot.git
synced 2026-06-10 09:10:37 -04:00
Read in files with universal newline support.
This commit is contained in:
parent
6254038ea3
commit
122e6b2ca1
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ def open_file(filename):
|
|||
if not os.access(filename, os.R_OK):
|
||||
raise IOError("the file '{0}' is not readable".format(filename))
|
||||
|
||||
return file(filename)
|
||||
return file(filename, 'rU')
|
||||
|
||||
|
||||
def rollback(config, checkpoints):
|
||||
|
|
|
|||
Loading…
Reference in a new issue