Skip to content

Commit c220891

Browse files
committed
Feature matrix: fix edonr note
Otherwise, it appears on all numeric tags.
1 parent c6f660e commit c220891

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/compatibility_matrix.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,8 @@ def nexenta():
358358
for ver in vers:
359359
# custom case for OpenZFS FreeBSD https://github.com/openzfs/zfs/pull/12735
360360
if (feature == 'edonr' and name == openzfs_key and '.' in ver
361-
and (int(ver.split('.')[0]) <= 2
362-
or (int(ver.split('.')[0]) <= 1
363-
and int(ver.split('.')[1]) <= 1))):
361+
and not (int(ver.split('.')[0]) >= 2
362+
and int(ver.split('.')[1]) >= 2)):
364363
html.write('<td class="yes">yes<sup><a href="#note_1">1</a></sup></td>')
365364
elif (name, ver) in names:
366365
html.write('<td class="yes">yes</td>')

0 commit comments

Comments
 (0)