Skip to content

Commit 12503d3

Browse files
author
Theofilos Manitaras
committed
Address PR comments
1 parent fcffe5f commit 12503d3

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/migration_2_to_3.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ However, you can convert any old configuration file using the command line optio
2323
2424
.. warning::
2525
.. versionchanged:: 3.4
26-
The old configuration syntax in no longer supported.
26+
The old configuration syntax in no longer supported and it will not be automatically converted by the `-C` option.
2727

2828

2929
Another important change is that default locations for looking up a configuration file has changed (see `Configuring ReFrame for Your Site <configure.html>`__ for more details).
@@ -35,7 +35,7 @@ You have to move it to any of the default settings locations or set the correspo
3535

3636

3737
Configuration conversion limitations
38-
================================
38+
====================================
3939

4040
ReFrame does a pretty good job in converting correctly your old configuration files, but there are some limitations:
4141

reframe/core/config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,9 @@ def _create_from_python(cls, filename):
226226
if hasattr(mod, 'settings'):
227227
# Looks like an old style config
228228
raise ConfigError(
229-
f"the syntax of the configuration file '{filename}' "
230-
f"is no longer supported"
229+
f"the syntax of the configuration file {filename!r} "
230+
f"is no longer supported; please convert it using the "
231+
f"'--upgrade-config-file' option"
231232
)
232233

233234
mod = util.import_module_from_file(filename)

0 commit comments

Comments
 (0)