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

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