Skip to content

Commit 75c1735

Browse files
committed
minor
1 parent 778dcb5 commit 75c1735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paimon-python/pypaimon/read/scanner/file_scanner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ def _filter_manifest_files_by_row_ranges(
7070

7171
for expected_range in row_ranges:
7272
# Check if ranges intersect
73-
intersection = Range.intersect(
73+
intersect = Range.intersect(
7474
manifest_row_range.from_,
7575
manifest_row_range.to,
7676
expected_range.from_,
7777
expected_range.to)
78-
if intersection is not None:
78+
if intersect:
7979
should_keep = True
8080
break
8181

0 commit comments

Comments
 (0)