Skip to content

Commit

Permalink
Python 3.10 fixes, part 2
Browse files Browse the repository at this point in the history
There was a fallback case I overlooked in the initial patch, with
a similarly imperfect version extractor.

Closes: #12045

Signed-off-by: Rich Ercolani <[email protected]>
  • Loading branch information
rincebrain committed Oct 23, 2021
1 parent ec64fdb commit ac014b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/ax_python_devel.m4
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ EOD`
ac_python_version=$PYTHON_VERSION
else
ac_python_version=`$PYTHON -c "import sys; \
print (sys.version[[:3]])"`
print ('.'.join(sys.version.split('.')[[:2]]))"`
fi
fi
Expand Down

0 comments on commit ac014b3

Please sign in to comment.