rpm-software-management / urlgrabber

GNU Lesser General Public License v2.1
14 stars 23 forks source link

Revert "Simplify mirror conversion to utf8" #12

Closed dmnks closed 5 years ago

dmnks commented 5 years ago

This reverts commit be8ee10e35319e80200d4ff384434d46fe7783d9.

A list of dicts (as opposed to strings) is valid input as well; see the module-level doc string for details (section 2 under CUSTOMIZATION). In fact, the nested estimate() function in MirrorGroup.init() accounts for that, too.

This fixes a traceback in YUM which does pass such a dict list.