[yocto] [opkg-devel] [opkg-utils PATCH] opkg.py: Fix run-time error in call to ArFile

Alejandro del Castillo alejandro.delcastillo at ni.com
Tue Oct 3 06:55:03 PDT 2017


ouch...this was clearly wrong

opkg-utils is badly needing an ATS to prevent this bugs from slipping in...

thanks a bunch for the fix! (just merged it into master)


On 10/02/2017 02:37 PM, Jeffrey Pautler wrote:
> Signed-off-by: Jeffrey Pautler <jeffrey.pautler at ni.com>
> 
> ---
> 
> opkg.py | 2 +-
> 
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/opkg.py b/opkg.py
> 
> index 4d6f020..9131755 100644
> 
> --- a/opkg.py
> 
> +++ b/opkg.py
> 
> @@ -168,7 +168,7 @@ class Package(object):
> 
>                   tar = tarfile.open(fn, "r", f)
> 
>                   tarStream = tar.extractfile("./control.tar.gz")
> 
>               else:
> 
> -                ar = ArFile(f, fn)
> 
> +                ar = arfile.ArFile(f, fn)
> 
>                   tarStream = ar.open("control.tar.gz")
> 
>               tarf = tarfile.open("control.tar.gz", "r", tarStream)
> 
>               try:
> 
> -- 
> 
> 2.7.4
> 
> -- 
> You received this message because you are subscribed to the Google 
> Groups "opkg-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to opkg-devel+unsubscribe at googlegroups.com 
> <mailto:opkg-devel+unsubscribe at googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwMFaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=wNcrL2akRn6jfxhHaKavUrJB_C9JAMXtynjLd8ZzgXQ&m=Wm0EzbF29YO9rmdZItSR6b3lsUZz4IyVr_dHT4u24do&s=Y2jGR3ZjJi8xIFNm57GqunDXAZiBeXTuDl3n22kTX6g&e=>.

-- 
Cheers,

Alejandro



More information about the yocto mailing list