[Yum-devel] patch to make duplicate repos easier to catch
seth vidal
skvidal at linux.duke.edu
Thu Aug 24 15:24:11 UTC 2006
On Wed, 2006-08-23 at 12:57 -0400, Chris Lumens wrote:
> In the anaconda UI to add extra repos, it'd be easier to catch the case
> when a duplicate repo has been added. Right now, you have to catch the
> all-purpose RepoError and examine the contents of the message in the
> exception. Yuck. Here's a patch to make this nicer. Note that I'm
> subclassing RepoError so nobody else has to change their code if they
> don't want to.
>
> - Chris
Committed, thank you.
Could you attach patches in the future rather than in-lining them? just
makes it easier.
-sv
More information about the Yum-devel
mailing list