From 8239f418704d3a7e600fed12dd5846b7ffb69ee6 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Tue, 4 Jul 2023 16:44:56 +0200 Subject: [PATCH] DOC: update docs strings --- src/caosdb/common/models.py | 5 +++-- src/caosdb/utils/checkFileSystemConsistency.py | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/caosdb/common/models.py b/src/caosdb/common/models.py index f9e6732d..df33da7c 100644 --- a/src/caosdb/common/models.py +++ b/src/caosdb/common/models.py @@ -2437,8 +2437,9 @@ class Messages(list): """ def clear_server_messages(self): - """Removes all messages of type error, warning and info.""" - # TODO Why do we not remove ALL messages? + """Removes all messages of type error, warning and info. All other + messages types are custom types which should be handled by custom + code.""" rem = [] for m in self: diff --git a/src/caosdb/utils/checkFileSystemConsistency.py b/src/caosdb/utils/checkFileSystemConsistency.py index a142c1dd..6c053fdc 100755 --- a/src/caosdb/utils/checkFileSystemConsistency.py +++ b/src/caosdb/utils/checkFileSystemConsistency.py @@ -30,7 +30,6 @@ import caosdb as db from argparse import ArgumentParser from argparse import RawDescriptionHelpFormatter -from _testcapi import raise_exception __all__ = [] __version__ = 0.1 -- GitLab