mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 00:00:44 +02:00
Read in files with universal newline support.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user