]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Remove unnecessary regex grouping
authorAngus Lees <gus@inodes.org>
Fri, 28 Nov 2014 01:18:49 +0000 (12:18 +1100)
committerAngus Lees <gus@inodes.org>
Tue, 23 Dec 2014 03:53:02 +0000 (14:53 +1100)
commit98cd8930744790ce4ac1f04408b3b593e856da75
tree0971ba92f2f8ab3fe2a595504062fd6e29596005
parenta7a9c74c80c95520028d446de43b4169bc9b86e4
Remove unnecessary regex grouping

Several regexes in this class used had unnecessary (\s+) grouping.  This
change makes the regexes slightly cheaper by removing the need for the
regex engine to remember the whitespace that was matched.

Change-Id: I9381c213efe093dc472b0c7e9d7b303a0c7cb13b
neutron/plugins/sriovnicagent/pci_lib.py