mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
chore(python): fix lint errors
This commit is contained in:
@@ -510,8 +510,7 @@ def get_viewtype_code_from_name(view_type_name):
|
|||||||
if code is not None:
|
if code is not None:
|
||||||
return code
|
return code
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"message typecode not found for {!r}, "
|
f"message typecode not found for {view_type_name!r}, available {list(_view_type_mapping.keys())!r}",
|
||||||
"available {!r}".format(view_type_name, list(_view_type_mapping.keys())),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user