/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: Jelmer Vernooij
  • Date: 2019-06-03 23:48:08 UTC
  • mfrom: (7316 work)
  • mto: This revision was merged to the branch mainline in revision 7328.
  • Revision ID: jelmer@jelmer.uk-20190603234808-15yk5c7054tj8e2b
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python3
 
1
#!/usr/bin/python
2
2
# Simple script that will check which bugs mentioned in NEWS
3
3
# are not yet marked Fix Released in Launchpad
4
4
 
52
52
    :return: list of bug numbers that were closed.
53
53
    """
54
54
    # Pattern to find bug numbers
55
 
    bug_pattern = re.compile(r"\#([0-9]+)")
 
55
    bug_pattern = re.compile("\#([0-9]+)")
56
56
    ret = set()
57
57
    with open(path, 'r') as f:
58
58
        section = ""