On Fri, Jan 22, 2016 at 09:32:26PM -0500, Russell Bryant wrote:
> This code asserted that the callback argument was of type
> types.FunctionType.  It's more pythonic to just check that the argument
> is callable, and not specifically that it's a function.  There are other
> ways to implement a callback than types.FunctionType.
> 
> Signed-off-by: Russell Bryant <russ...@ovn.org>

Acked-by: Ben Pfaff <b...@ovn.org>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to