Blame SOURCES/0085-abrt-action-install-debuginfo-Fix-variable-reference.patch

a8b6c4
From 39faa81497c9b7e1b443c6aed8ddaa0f2516dc66 Mon Sep 17 00:00:00 2001
a8b6c4
From: Ernestas Kulik <ekulik@redhat.com>
a8b6c4
Date: Thu, 4 Jun 2020 12:53:13 +0200
a8b6c4
Subject: [PATCH] abrt-action-install-debuginfo: Fix variable reference
a8b6c4
a8b6c4
The code in cc79333dcd3fea7701ebbf97fb0919fbad90f3f0 was initially
a8b6c4
intended for libreport, but a thinko was introduced when it was moved
a8b6c4
over.
a8b6c4
---
a8b6c4
 src/plugins/abrt-action-install-debuginfo.in | 2 +-
a8b6c4
 1 file changed, 1 insertion(+), 1 deletion(-)
a8b6c4
a8b6c4
diff --git a/src/plugins/abrt-action-install-debuginfo.in b/src/plugins/abrt-action-install-debuginfo.in
a8b6c4
index 659a9aa84..3a46233b7 100644
a8b6c4
--- a/src/plugins/abrt-action-install-debuginfo.in
a8b6c4
+++ b/src/plugins/abrt-action-install-debuginfo.in
a8b6c4
@@ -250,7 +250,7 @@ if __name__ == "__main__":
a8b6c4
             result = downloader.download(missing, download_exact_files=exact_fls)
a8b6c4
 
a8b6c4
             # make sure that all downloaded directories are writeable by abrt group
a8b6c4
-            for root, dirs, files in os.walk(self.cachedirs[0]):
a8b6c4
+            for root, dirs, files in os.walk(config.cachedirs[0]):
a8b6c4
                 for walked_dir in dirs:
a8b6c4
                     os.chmod(os.path.join(root, walked_dir), 0o775)
a8b6c4
 
a8b6c4
-- 
a8b6c4
2.21.3
a8b6c4