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

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



On Mon, Feb 21, 2011 at 12:44:57PM -0600, David Lehman wrote:
> ---
>  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

Ack. tested on a live install.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpSaEX552Bhd.pgp
Description: PGP signature


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