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

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