From 653993a82bd6437b1d65e6e2d85dbb393dd85732 Mon Sep 17 00:00:00 2001 From: amandalund Date: Fri, 22 Feb 2019 21:53:54 -0600 Subject: [PATCH] Too eager with f-strings --- openmc/data/ace.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmc/data/ace.py b/openmc/data/ace.py index 55d5d19dc6..b93de0d24c 100644 --- a/openmc/data/ace.py +++ b/openmc/data/ace.py @@ -191,7 +191,8 @@ def get_table(filename, name=None): if lib.tables: return lib.tables[0] else: - raise ValueError(f'Could not find ACE table with name: {name}') + raise ValueError('Could not find ACE table with name: {}' + .format(name)) class Library(EqualityMixin):