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

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