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

[PATCH][f15, master] Correct the return values of some backend base class methods. (#679107)



---
 pyanaconda/backend.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/backend.py b/pyanaconda/backend.py
index b5a7323..965db8e 100644
--- a/pyanaconda/backend.py
+++ b/pyanaconda/backend.py
@@ -145,6 +145,7 @@ class AnacondaBackend:
 
     def groupExists(self, group):
         log.warning("groupExists not implemented for backend!")
+        return True
 
     def selectGroup(self, group, *args):
         log.warning("selectGroup not implemented for backend!")
@@ -154,6 +155,7 @@ class AnacondaBackend:
 
     def packageExists(self, pkg):
         log.warning("packageExists not implemented for backend!")
+        return True
     
     def selectPackage(self, pkg, *args):
         log.warning("selectPackage not implemented for backend!")
@@ -163,6 +165,7 @@ class AnacondaBackend:
 
     def getDefaultGroups(self, anaconda):
         log.warning("getDefaultGroups not implemented for backend!")
+        return []
 
     def resetPackageSelections(self):
         # we just leave this one unimplemented if it's not needed
-- 
1.7.3.5


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