[elbe-devel] [PATCH v3 4/4] Fix wrong attribute for package

Bastian Germann bage at linutronix.de
Fri Aug 9 14:32:21 CEST 2019


> From: Olivier Dion <dion at linutronix.de>
> 
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>  elbepack/aptpkgutils.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/aptpkgutils.py b/elbepack/aptpkgutils.py
> index 78b1b37b..95c35864 100644
> --- a/elbepack/aptpkgutils.py
> +++ b/elbepack/aptpkgutils.py
> @@ -22,7 +22,7 @@ statestring = {
>  }
>  
>  def apt_pkg_md5(pkg):
> -    hashes = pkg.installed._records.hashes
> +    hashes = pkg._records.hashes
>      for i in xrange(len(hashes)):
>          h = str(hashes[i])
>          if h.startswith("MD5"):
> 



More information about the elbe-devel mailing list