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 <[email protected]>

Acked-by: Ben Pfaff <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to