From f5d36ed48c0f9bb71cd04858807e858bcd56bcf1 Mon Sep 17 00:00:00 2001 From: naglis <827324+naglis@users.noreply.github.com> Date: Wed, 20 Dec 2023 00:49:16 +0200 Subject: [PATCH] Remove unused `_get_file_count_in_dir` method It was introduced in b39924a3ea5e5573285e5e84122b32754d19474f, but I cannot find any callers of it. --- cozy/media/importer.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/cozy/media/importer.py b/cozy/media/importer.py index d5429372..d8e97e0a 100644 --- a/cozy/media/importer.py +++ b/cozy/media/importer.py @@ -204,6 +204,3 @@ def _filter_unchanged_files(self, files: List[str]) -> List[str]: continue yield file - - def _get_file_count_in_dir(self, dir): - len([name for name in os.listdir(dir) if os.path.isfile(name)])