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

Re: [PATCH 08/14] Do not delete repo twice or when it had not been added actually.



> diff --git a/iw/task_gui.py b/iw/task_gui.py
> index 365e2d0..c0f7688 100644
> --- a/iw/task_gui.py
> +++ b/iw/task_gui.py
> @@ -359,8 +359,6 @@ class RepoEditor:
>              type = self.typeComboBox.get_active()
>              if not applyFuncs[type](newRepoObj) or not self._addAndEnableRepo(newRepoObj) or not \
>                     setupRepo(self.anaconda, newRepoObj):
> -                newRepoObj.close()
> -                self.anaconda.backend.ayum.repos.delete(newRepoObj.id)
>                  continue
>  
>              if removeOld:

ACK, after some careful looking around in addAndEnableRepo and
setupRepo.

- Chris


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