Searched refs:allowed_extensions (Results 1 – 2 of 2) sorted by relevance
295 def filter_by_extension(dictionary, allowed_extensions): argument300 allowed_extensions = frozenset(allowed_extensions)303 if len(base_ext) == 1 or base_ext[1].lower() not in allowed_extensions:
317 def filter_by_extension(dictionary, allowed_extensions): argument322 allowed_extensions = frozenset(allowed_extensions)325 if len(base_ext) == 1 or base_ext[1].lower() not in allowed_extensions: