Searched refs:str_fields (Results 1 – 2 of 2) sorted by relevance
217 str_fields = dict([(f, '*') for f in field_names])218 str_fields.update(kwargs)221 tag_pattern = tag_name.format(**str_fields)226 str_fields = dict([(f, r'(?P<{}>[\w\-.()]+)'.format(f)) for f in field_names])227 str_fields['branch'] = r'(?P<branch>[\w\-.()/]+)'228 str_fields['commit'] = '(?P<commit>[0-9a-f]{7,40})'229 str_fields['commit_number'] = '(?P<commit_number>[0-9]{1,7})'230 str_fields['tag_number'] = '(?P<tag_number>[0-9]{1,5})'233 str_fields.update(fixed_fields)234 tag_re = re.compile(tag_name.format(**str_fields))
178 def str_fields(fields): function