Skip to content

Commit 3cec5b2

Browse files
Update devito/core/operator.py
Co-authored-by: Ed Caunt <[email protected]>
1 parent 8d1fa60 commit 3cec5b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devito/core/operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def _check_kwargs(cls, **kwargs):
196196
oo = kwargs['options']
197197

198198
if oo['mpi'] and oo['mpi'] not in cls.MPI_MODES:
199-
raise InvalidOperator("Unsupported MPI mode `{}`".format(oo['mpi']))
199+
raise InvalidOperator(f"Unsupported MPI mode `{oo['mpi']}`")
200200

201201
if oo['cse-algo'] not in ('basic', 'smartsort', 'advanced'):
202202
raise InvalidOperator("Illegal `cse-algo` value")

0 commit comments

Comments
 (0)