[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 09/14] Use temporary repo id for edited object to prevent Duplicate Repo error.



> Why you don't like it? It's per AnacondaYum object counter (repos
> are kept in AnacondaYum object) so it seems logical to have it there.

On second thought, I guess it's not so bad.  I originally didn't really
like it because it seemed added only because the UI needed it, not
because the backend required it.  But if there's no better place for it,
then I'm okay with this.

> So it seems I'd need either a hack to prevent double initialization
> or to find some other place - even more global? anaconda? - I don't
> like it at all. I may be easily missing something - any suggestion?

No, I don't really have any good suggestions.  I'd rather not introduce
new gross hacks to get around this.  That'd only make things worse.

- Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]