diff options
-rwxr-xr-x | configure.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.py b/configure.py index d62b6abd8..b4f238b10 100755 --- a/configure.py +++ b/configure.py @@ -1742,12 +1742,13 @@ class HouseEccCurve(object): try: with open(filepath) as f: lines = [line.rstrip() for line in f] - for ndx, _ in enumerate(lines): - lines[ndx] = ' \"%s\"' % lines[ndx] - return "\\\n" + ' \\\n'.join(lines) except IOError: raise UserError("Error reading file '%s'" % filepath) + for ndx, _ in enumerate(lines): + lines[ndx] = ' \"%s\"' % lines[ndx] + return "\\\n" + ' \\\n'.join(lines) + def create_template_vars(source_paths, build_config, options, modules, cc, arch, osinfo): """ |