> - self.logger.error("Error: %s" % e)
> + errors.add(unicode(e))
ACK, but I'd remove the unicode() call, as it fails in old python.
There's exception2msg() in yum.i18n that converts exception to
unicode correctly (with all the hairy fallbacks).