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

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



On 07/15/2011 10:39 AM, Darryl L. Pierce wrote:
> From: "Darryl L. Pierce" <dpierce 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


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