From eca342647bae7236b765a8a466a0b918d271b494 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Thu, 8 Sep 2022 17:40:49 +0200 Subject: [PATCH] MAINT: rename default cache file --- integrationtests/test.sh | 2 +- src/caosadvancedtools/cache.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/integrationtests/test.sh b/integrationtests/test.sh index 68617280..36730cc9 100755 --- a/integrationtests/test.sh +++ b/integrationtests/test.sh @@ -17,7 +17,7 @@ OUT=/tmp/crawler.output ls cat pycaosdb.ini python3 -c "import caosdb; print('CaosDB Version:', caosdb.__version__)" -rm -rf /tmp/cache.db +rm -rf /tmp/caosdb_identifiable_cache.db set -e echo "Clearing database" python3 clear_database.py diff --git a/src/caosadvancedtools/cache.py b/src/caosadvancedtools/cache.py index fcd93e7f..85e2afff 100644 --- a/src/caosadvancedtools/cache.py +++ b/src/caosadvancedtools/cache.py @@ -185,7 +185,7 @@ class IdentifiableCache(AbstractCache): return 2 def get_default_file_name(self): - return "cache.db" + return "caosdb_identifiable_cache.db" def __init__(self, db_file=None, force_creation=False): super().__init__(db_file, force_creation) -- GitLab