/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/check-newsbugs.py

  • Committer: Martin
  • Date: 2019-06-15 01:11:23 UTC
  • mto: This revision was merged to the branch mainline in revision 7325.
  • Revision ID: gzlist@googlemail.com-20190615011123-b3zn6kb8hgybw5sx
Fix invalid escape sequence warnings in regexps

No functional change, makes running bt.test_source on Python 3 cleaner.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    :return: list of bug numbers that were closed.
53
53
    """
54
54
    # Pattern to find bug numbers
55
 
    bug_pattern = re.compile("\#([0-9]+)")
 
55
    bug_pattern = re.compile(r"\#([0-9]+)")
56
56
    ret = set()
57
57
    with open(path, 'r') as f:
58
58
        section = ""