Newline after printing ConfigError in configure.py.

Fix error message printed on configuration exception to have a newline suffix
in CUDA configuration, without this the two lines run into each other.

Before:

```
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]:

Inconsistent CUDA toolkit path: /usr vs /usr/libAsking for detailed CUDA configuration...
```

After:

```
Please specify the comma-separated list of base paths to look for CUDA libraries and headers. [Leave empty to use the default]:

Inconsistent CUDA toolkit path: /usr vs /usr/lib
Asking for detailed CUDA configuration...
```
This commit is contained in:
Chris Leary 2020-12-30 23:07:26 -08:00
parent cb8e952199
commit 079a6c9215

View File

@ -645,7 +645,7 @@ def main():
for key, value in sorted(find_cuda_config().items()):
print("%s: %s" % (key, value))
except ConfigError as e:
sys.stderr.write(str(e))
sys.stderr.write(str(e) + '\n')
sys.exit(1)