[ovs-dev] [PATCH] Better abstract OpenFlow error codes.

Ben Pfaff blp at nicira.com
Fri Dec 9 18:03:54 UTC 2011


On Wed, Dec 07, 2011 at 08:43:21PM -0800, Reid Price wrote:
> Glanced over the python, seems correct.  You could drop the leading '^'
> from re.match, as match only searches from the beginning, re.search
> allows matches anywhere.  The current way has no real performance
> hit and is perhaps more obvious though.

Thanks, I removed the '^' in each place.  I had forgotten that match
searched from the beginning.



More information about the dev mailing list