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

a8b6c4
From aa0d2a4cf3050f82e76fa33f556b17655aebe06b Mon Sep 17 00:00:00 2001
a8b6c4
From: Ernestas Kulik <ekulik@redhat.com>
a8b6c4
Date: Wed, 1 Jul 2020 18:12:41 +0200
a8b6c4
Subject: [PATCH] plugins: abrt-action-install-debuginfo: Fix reference
a8b6c4
MIME-Version: 1.0
a8b6c4
Content-Type: text/plain; charset=UTF-8
a8b6c4
Content-Transfer-Encoding: 8bit
a8b6c4
a8b6c4
0840adafb280be0bab569e68116e1d3897831f97 fixes the problem in a way that
a8b6c4
only works in the upstream code. Here, the code split was not performed
a8b6c4
and we don’t have a config object.
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 3a46233b..b049d18c 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(config.cachedirs[0]):
a8b6c4
+            for root, dirs, files in os.walk(cachedirs[0]):
a8b6c4
                 for walked_dir in dirs:
a8b6c4
                     os.chmod(os.path.join(root, walked_dir), 0o775)
a8b6c4
 
a8b6c4
-- 
a8b6c4
2.28.0
a8b6c4