[ovs-dev] [PATCH] Utilities: make print() in gdb script work on all version of Python

William Tu u9012063 at gmail.com
Tue Apr 21 15:58:04 UTC 2020


On Tue, Apr 21, 2020 at 01:33:55PM +0200, Eelco Chaudron wrote:
> Signed-off-by: Eelco Chaudron <echaudro at redhat.com>
> ---
Applied to master, thanks!
Should we backport?
William

>  utilities/gdb/ovs_gdb.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/utilities/gdb/ovs_gdb.py b/utilities/gdb/ovs_gdb.py
> index 0b2ecb81b..1111f3100 100644
> --- a/utilities/gdb/ovs_gdb.py
> +++ b/utilities/gdb/ovs_gdb.py
> @@ -55,6 +55,7 @@
>  #    ...
>  #    ...
>  #
> +from __future__ import print_function
>  import gdb
>  import sys
>  import uuid
> -- 
> 2.24.0
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev


More information about the dev mailing list