Skip to content

Commit eecbfcf

Browse files
committed
fix older python
1 parent 4bbaba2 commit eecbfcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cacholote/clean.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
def _get_files_from_cache_entry(cache_entry: database.CacheEntry) -> dict[str, str]:
3838
result = cache_entry.result
39-
if not isinstance(result, list | tuple | set):
39+
if not isinstance(result, (list, tuple, set)):
4040
result = [result]
4141

4242
files = {}

0 commit comments

Comments
 (0)