]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Combine author_tag and log_translation_hint regexes
authorAngus Lees <gus@inodes.org>
Fri, 28 Nov 2014 01:15:15 +0000 (12:15 +1100)
committerAngus Lees <gus@inodes.org>
Tue, 23 Dec 2014 03:52:57 +0000 (14:52 +1100)
commita7a9c74c80c95520028d446de43b4169bc9b86e4
tree3d9a1186bddf0694bf2c135ceddc37c5a923235e
parent2b378162f311832038a91d22f218005070ffd029
Combine author_tag and log_translation_hint regexes

author_tag_re and log_translation_hints were lists of regexes, where
each member was then separately matched against each input line.

This change combines each of these lists into an a|b regex and removes
the unnecessary loop.

Change-Id: I8db76862d3f7ef030e31e2e1e6f2fcd8dbd00888
neutron/hacking/checks.py