Skip to content

Commit

Permalink
scripts/auto-bootstraps/analyse_result: fix syntax warning
Browse files Browse the repository at this point in the history
this probably changed inbetween a Python release or two

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
  • Loading branch information
grobian committed Jun 16, 2024
1 parent 23620ef commit e34da1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/auto-bootstraps/analyse_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ def archSort(l, r):
Sort by os, vendor, cpu
"""
lcpu, lvendor, los = l.split('-', 2)
losname = re.split('\d', los, 1)[0]
losname = re.split('[0-9]', los, 1)[0]
losver = los.split(losname, 1)[1]
rcpu, rvendor, ros = r.split('-', 2)
rosname = re.split('\d', ros, 1)[0]
rosname = re.split('[0-9]', ros, 1)[0]
rosver = ros.split(rosname, 1)[1]

if losname > rosname:
Expand Down
2 changes: 1 addition & 1 deletion scripts/auto-bootstraps/dobootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ do_prepare() {
chost=sparc-${chost#*-}
fi
;;
SParcv9-*|sparc64-*)
sparcv9-*|sparc64-*)
if [[ ${bitw} == 32 ]] ; then
chost=sparc-${chost#*-}
else
Expand Down

0 comments on commit e34da1c

Please sign in to comment.