[virt-tools-list] [PATCH] Fixed the accidental Grid lingering in addnetwork.py.

Cole Robinson crobinso at redhat.com
Mon Jul 18 18:09:50 UTC 2011


On 07/15/2011 10:39 AM, Darryl L. Pierce wrote:
> From: "Darryl L. Pierce" <dpierce at redhat.com>
> 
> ---
>  src/virtManagerTui/addnetwork.py |    6 ++----
>  1 files changed, 2 insertions(+), 4 deletions(-)
> 

This and the series look fine, though please install python-pep8 and rerun
'make check-pylint' to catch a few small style errors. After that, please push.

Thanks,
Cole

> diff --git a/src/virtManagerTui/addnetwork.py b/src/virtManagerTui/addnetwork.py
> index 776020f..f56acf7 100644
> --- a/src/virtManagerTui/addnetwork.py
> +++ b/src/virtManagerTui/addnetwork.py
> @@ -192,11 +192,9 @@ class AddNetworkConfigScreen(VmmTuiConfigScreen):
>  
>      def get_public_network_alert_page(self, screen):
>          ignore = screen
> -        grid = Grid(1, 2)
> -        grid.setField(Label("The network should normally use a private IPv4 address."), 0, 0, anchorLeft = 1)
> -        grid.setField(Label("Use this non-private address anyway?"), 0, 1, anchorLeft = 1)
>          return [Label("Check Network Address"),
> -                grid]
> +                Label("The network should normally use a private IPv4 address."),
> +                Label("Use this non-private address anyway?")]
>  
>      def get_dhcp_range_page(self, screen):
>          ignore = screen




More information about the virt-tools-list mailing list