Update zanata stats tool for new branch/version

The zanata statistics tool does not include data from the
master-old-keepforstatistics branch for Horizon. Based on the
name of the branch I suspect it should.

Update the regular expression to make sure this branch
is used in computing statistics.

Change-Id: I5b3478f35f4a9eded35907d62d372ecbfe3d5706
Closes-bug: 1558254
This commit is contained in:
Douglas R. Fish 2016-03-16 21:36:31 +00:00
parent 974c505e6d
commit 0f956e9c68
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ import yaml
ZANATA_URI = 'https://translate.openstack.org/rest/%s'
LOG = logging.getLogger(__name__)
ZANATA_VERSION_PATTERN = re.compile(r'^(master|stable-[a-z]+)$')
ZANATA_VERSION_PATTERN = re.compile(r'^(master[-,a-z]*|stable-[a-z]+)$')
class ZanataUtility(object):