Re: [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]

 



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: pgpvwnzMBPGUi.pgp
Description: PGP signature

_______________________________________________
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