From 10f2684146b7b0c76d713f6d754b6962c5dfa0b4 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 18 Apr 2017 23:03:37 +0200 Subject: Improve readability of BOTAN_HOUSE_ECC_CURVE_PEM in build.h --- configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.py b/configure.py index 7072584fd..d62b6abd8 100755 --- a/configure.py +++ b/configure.py @@ -1743,8 +1743,8 @@ class HouseEccCurve(object): with open(filepath) as f: lines = [line.rstrip() for line in f] for ndx, _ in enumerate(lines): - lines[ndx] = ''.join(('\"', lines[ndx], '\" \\', '\n')) - return ''.join(lines) + lines[ndx] = ' \"%s\"' % lines[ndx] + return "\\\n" + ' \\\n'.join(lines) except IOError: raise UserError("Error reading file '%s'" % filepath) -- cgit v1.2.3