[Yum-devel] Regarding urlgrabber
Ashwini Dhiman
ashwinidhiman at gmail.com
Sat Apr 25 06:07:33 UTC 2009
I was just trying to implement a small program which downloads two
packages simultaneously using urlgrabber and show their corresponding
text meters. This is the link to what I made
http://fpaste.org/paste/10114
Here I am using the progress_obj as TextMeter. This performs half of
the desired operation fine as it downloads the two packages
simultaneously but the display kind of is a bit skewed. The display
switches between text used as names for the packages (here 'package 1'
and 'package 2'). The names with which the packages are saved is all
right.
I know there is a TextMultiFileMeter class in the progress module but
I am not sure how to use that. Can I do it using the TextMeter itself
or would it surely require TextMultiFileMeter?
Regards,
Ashwini
More information about the Yum-devel
mailing list