From 122e6b2ca1c1c6283f565f1f0ba7064800eea032 Mon Sep 17 00:00:00 2001 From: Adam Woodbeck Date: Fri, 28 Nov 2014 13:28:16 -0500 Subject: [PATCH] Read in files with universal newline support. --- letsencrypt/scripts/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letsencrypt/scripts/main.py b/letsencrypt/scripts/main.py index 8a548a5fc..06a277283 100755 --- a/letsencrypt/scripts/main.py +++ b/letsencrypt/scripts/main.py @@ -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):