Blame SOURCES/0087-plugins-abrt-action-install-debuginfo-Fix-reference.patch

5e7183
From aa0d2a4cf3050f82e76fa33f556b17655aebe06b Mon Sep 17 00:00:00 2001
5e7183
From: Ernestas Kulik <ekulik@redhat.com>
5e7183
Date: Wed, 1 Jul 2020 18:12:41 +0200
5e7183
Subject: [PATCH] plugins: abrt-action-install-debuginfo: Fix reference
5e7183
MIME-Version: 1.0
5e7183
Content-Type: text/plain; charset=UTF-8
5e7183
Content-Transfer-Encoding: 8bit
5e7183
5e7183
0840adafb280be0bab569e68116e1d3897831f97 fixes the problem in a way that
5e7183
only works in the upstream code. Here, the code split was not performed
5e7183
and we don’t have a config object.
5e7183
---
5e7183
 src/plugins/abrt-action-install-debuginfo.in | 2 +-
5e7183
 1 file changed, 1 insertion(+), 1 deletion(-)
5e7183
5e7183
diff --git a/src/plugins/abrt-action-install-debuginfo.in b/src/plugins/abrt-action-install-debuginfo.in
5e7183
index 3a46233b..b049d18c 100644
5e7183
--- a/src/plugins/abrt-action-install-debuginfo.in
5e7183
+++ b/src/plugins/abrt-action-install-debuginfo.in
5e7183
@@ -250,7 +250,7 @@ if __name__ == "__main__":
5e7183
             result = downloader.download(missing, download_exact_files=exact_fls)
5e7183
 
5e7183
             # make sure that all downloaded directories are writeable by abrt group
5e7183
-            for root, dirs, files in os.walk(config.cachedirs[0]):
5e7183
+            for root, dirs, files in os.walk(cachedirs[0]):
5e7183
                 for walked_dir in dirs:
5e7183
                     os.chmod(os.path.join(root, walked_dir), 0o775)
5e7183
 
5e7183
-- 
5e7183
2.28.0
5e7183