[virt-tools-list] [PATCH virt-manager] create: show correctly the list of supported OS
Martin Kletzander
mkletzan at redhat.com
Thu Jan 23 22:51:24 UTC 2014
On Thu, Jan 23, 2014 at 05:09:56PM +0100, Giuseppe Scrivano wrote:
> Do not show only the OS supported stable when stable_defaults is not
> used. commit dc0b9bbaafa98498f5621a2c318a43fdfe1fa7ff introduced this
> issue.
>
> Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
> ---
> virtManager/create.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/virtManager/create.py b/virtManager/create.py
> index 8c4197f..ef75089 100644
> --- a/virtManager/create.py
> +++ b/virtManager/create.py
> @@ -879,7 +879,7 @@ class vmmCreate(vmmGObjectUI):
> self._add_os_row(model, None, _("Generic"), True)
> return
>
> - filtervars = (not self._stable_defaults() and
> + filtervars = (self._stable_defaults() and
> STABLE_OS_SUPPORT or
> None)
> preferred = self.config.preferred_distros
> --
> 1.8.4.2
>
That makes sense, thanks for fixing it after me :) Second occurrence
of the same code is fixed correctly, so this is enough.
ACK,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140123/0d48b302/attachment.sig>
More information about the virt-tools-list
mailing list