aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2017-04-18 23:03:37 +0200
committerSimon Warta <[email protected]>2017-04-18 23:34:38 +0200
commit10f2684146b7b0c76d713f6d754b6962c5dfa0b4 (patch)
treef33eded4ba159558a21c30be47995b90753d1527
parent6d8d19dcb8dd52fa7b4bd706e909f2386373e89f (diff)
Improve readability of BOTAN_HOUSE_ECC_CURVE_PEM in build.h
-rwxr-xr-xconfigure.py4
1 files 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)