Skip to content
Snippets Groups Projects

Use format for string formatting

Merged Samuel GAIST requested to merge 20_use_old_string_format into master
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -314,7 +314,11 @@ class Database(object):
elif schema_version == 2:
self._load_v2(dataformat_cache)
else:
raise RuntimeError(f"Invalid schema version {schema_version}")
raise RuntimeError(
"Invalid schema version {schema_version}".format(
schema_version=schema_version
)
)
@property
def name(self):
Loading