[elbe-devel] [PATCH v3 4/4] Fix wrong attribute for package
dion at linutronix.de
dion at linutronix.de
Fri Aug 9 14:28:13 CEST 2019
From: Olivier Dion <dion at linutronix.de>
Signed-off-by: Olivier Dion <dion 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"):
--
2.11.0
More information about the elbe-devel
mailing list