Discussion:
[ABRT PATCH] fix noninteractive mode in debuginfo installer - rhbz#737066
Petr Kubat
2013-09-02 11:39:49 UTC
Permalink
Signed-off-by: Petr Kubat <pkubat-H+wXaHxf7aLQT0dZR+***@public.gmane.org>
---
src/plugins/abrt-action-install-debuginfo.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/plugins/abrt-action-install-debuginfo.in b/src/plugins/abrt-action-install-debuginfo.in
index 4ecb58c..2e90a41 100644
--- a/src/plugins/abrt-action-install-debuginfo.in
+++ b/src/plugins/abrt-action-install-debuginfo.in
@@ -206,7 +206,8 @@ if __name__ == "__main__":
print _("Coredump references {0} debuginfo files, {1} of them are not installed").format(len(b_ids), len(missing))

# TODO: should we pass keep_rpms=keeprpms to DebugInfoDownload here??
- downloader = DebugInfoDownload(cache=cachedirs[0], tmp=tmpdir)
+ downloader = DebugInfoDownload(cache=cachedirs[0], tmp=tmpdir,
+ noninteractive=noninteractive)
try:
result = downloader.download(missing, download_exact_files=exact_fls)
except Exception, ex:
--
1.8.3.1
Jiri Moskovcak
2013-09-03 10:24:32 UTC
Permalink
- pushed, thanks
Post by Petr Kubat
---
src/plugins/abrt-action-install-debuginfo.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/plugins/abrt-action-install-debuginfo.in b/src/plugins/abrt-action-install-debuginfo.in
index 4ecb58c..2e90a41 100644
--- a/src/plugins/abrt-action-install-debuginfo.in
+++ b/src/plugins/abrt-action-install-debuginfo.in
print _("Coredump references {0} debuginfo files, {1} of them are not installed").format(len(b_ids), len(missing))
# TODO: should we pass keep_rpms=keeprpms to DebugInfoDownload here??
- downloader = DebugInfoDownload(cache=cachedirs[0], tmp=tmpdir)
+ downloader = DebugInfoDownload(cache=cachedirs[0], tmp=tmpdir,
+ noninteractive=noninteractive)
result = downloader.download(missing, download_exact_files=exact_fls)
Loading...