chore(oops): don't use format strings

This commit is contained in:
Rémi Alvergnat
2021-02-24 01:11:56 +01:00
parent e673a64dfd
commit cab06ffdd3
+1 -1
View File
@@ -32,7 +32,7 @@ def _import(value: str, default_module_name=None):
else:
module_name = default_module_name
target = value
import_id = f"{module_name}:{target}"
import_id = module_name + ":" + target
if import_id in _import_cache:
return _import_cache[import_id]