浏览代码

format_changelog: treat "issue NNNN" as a track ticket

Nick Mathewson 5 年之前
父节点
当前提交
aaef95ada5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/maint/format_changelog.py

+ 1 - 1
scripts/maint/format_changelog.py

@@ -401,7 +401,7 @@ class ChangeLog(object):
         self.dumpEndOfChangelog()
 
 # Let's turn bugs to html.
-BUG_PAT = re.compile('(bug|ticket|feature)\s+(\d{4,5})', re.I)
+BUG_PAT = re.compile('(bug|ticket|issue|feature)\s+(\d{4,5})', re.I)
 def bug_html(m):
     return "%s <a href='https://bugs.torproject.org/%s'>%s</a>" % (m.group(1), m.group(2), m.group(2))