File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,10 @@ impl PythonPlugin {
203203 let versions = raw
204204 . lines ( )
205205 . filter ( |v| v. contains ( & platform) )
206- . filter ( |v| flavor. as_ref ( ) . is_some_and ( |f| f. contains ( "freethreaded" ) ) || !v. contains ( "freethreaded" ) )
206+ . filter ( |v| {
207+ flavor. as_ref ( ) . is_some_and ( |f| f. contains ( "freethreaded" ) )
208+ || !v. contains ( "freethreaded" )
209+ } )
207210 . flat_map ( |v| {
208211 // cpython-3.9.5+20210525 or cpython-3.9.5rc3+20210525
209212 regex ! ( r"^cpython-(\d+\.\d+\.[\da-z]+)\+(\d+).*" )
@@ -504,7 +507,10 @@ impl PythonPlugin {
504507 let result = raw
505508 . lines ( )
506509 . filter ( |v| v. contains ( & platform) )
507- . filter ( |v| flavor. as_ref ( ) . is_some_and ( |f| f. contains ( "freethreaded" ) ) || !v. contains ( "freethreaded" ) )
510+ . filter ( |v| {
511+ flavor. as_ref ( ) . is_some_and ( |f| f. contains ( "freethreaded" ) )
512+ || !v. contains ( "freethreaded" )
513+ } )
508514 . flat_map ( |v| {
509515 regex ! ( r"^cpython-(\d+\.\d+\.[\da-z]+)\+(\d+).*" )
510516 . captures ( v)
You can’t perform that action at this time.
0 commit comments