Skip to content

Commit

Permalink
Remove unused _get_file_count_in_dir method
Browse files Browse the repository at this point in the history
It was introduced in b39924a, but I
cannot find any callers of it.
  • Loading branch information
naglis committed Dec 19, 2023
1 parent 1be8d73 commit f5d36ed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cozy/media/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)])

0 comments on commit f5d36ed

Please sign in to comment.