aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-26 19:37:22 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-26 19:37:22 +0000
commita1c10565176b4dc4d1a4c5ab2897046a6323e90d (patch)
tree621112786acf44644c85235a2249c3d3dde43423 /Rpmdrake
parent4cdceb0a2ddcea11473ba3df85f0b8dd096edddc (diff)
downloadrpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.tar
rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.tar.gz
rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.tar.bz2
rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.tar.xz
rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.zip
fix retrieving XML information (mga#9529)
commit r7594 fixed download callback for global progress bar but it broke downloading XML metadata. However, we ended in using new gurpm callback in commit r7598 so we can just revert that change
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index b038cc90..75078250 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -213,7 +213,7 @@ sub download_callback {
) =~ /^\s*(.*)/
),
);
- $gurpm->set_progressbar($percent/100);
+ $gurpm->progress($percent/100);
} elsif ($mode eq 'end') {
$gurpm->set_progressbar(1);
$gurpm->invalidate_cancel;