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

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

 



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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux