Skip to content
Snippets Groups Projects
Commit e757e594 authored by Mart van Santen's avatar Mart van Santen
Browse files

Pylint recommandations

parent d5b45db9
No related branches found
No related tags found
2 merge requests!68Merge loginpanel into main and release 0.5.0,!60Resolve "Allow CLI to set password"
Pipeline #10189 passed with stages
in 2 minutes and 4 seconds
......@@ -62,6 +62,7 @@ class KratosUser():
@property
def uuid(self):
"""Gets the protected UUID propery"""
return self.__uuid
def save(self):
......@@ -113,7 +114,9 @@ class KratosUser():
self.api.admin_delete_identity(self.__uuid)
return True
except KratosApiException as error:
raise BackendError(f"Unable to delete entry, kratos replied with:{error}") from error
raise BackendError(
f"Unable to delete entry, kratos replied with: {error}"
) from error
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment