pmb.parse.arch.alpine_native: remove unused ret (MR 2130)
This commit is contained in:
parent
a8d425554c
commit
f2966e62ae
|
@ -6,7 +6,6 @@ import fnmatch
|
||||||
|
|
||||||
def alpine_native():
|
def alpine_native():
|
||||||
machine = platform.machine()
|
machine = platform.machine()
|
||||||
ret = ""
|
|
||||||
|
|
||||||
mapping = {
|
mapping = {
|
||||||
"i686": "x86",
|
"i686": "x86",
|
||||||
|
@ -19,7 +18,6 @@ def alpine_native():
|
||||||
return mapping[machine]
|
return mapping[machine]
|
||||||
raise ValueError("Can not map platform.machine '" + machine + "'"
|
raise ValueError("Can not map platform.machine '" + machine + "'"
|
||||||
" to the right Alpine Linux architecture")
|
" to the right Alpine Linux architecture")
|
||||||
return ret
|
|
||||||
|
|
||||||
|
|
||||||
def from_chroot_suffix(args, suffix):
|
def from_chroot_suffix(args, suffix):
|
||||||
|
|
Loading…
Reference in New Issue