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

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



---
 iw/task_gui.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

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:
-- 
1.6.0.6


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