/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/fixed-in.py

  • Committer: Jelmer Vernooij
  • Date: 2019-05-29 03:28:14 UTC
  • mfrom: (7303 work)
  • mto: This revision was merged to the branch mainline in revision 7305.
  • Revision ID: jelmer@jelmer.uk-20190529032814-fzqbrgf9647u9ptq
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        date_re = re.compile(':%s: (NOT RELEASED YET|\d{4}-\d{2}-\d{2})'
55
55
                             % (self.release,))
56
56
        match = date_re.match(self.lrs)
57
 
        if  match is not None:
 
57
        if match is not None:
58
58
            self.date = match.group(1)
59
59
            return True
60
60
        # The old fashion way
61
61
        released_re = re.compile(':Released:\s+(\d{4}-\d{2}-\d{2})')
62
62
        match = released_re.match(self.lrs)
63
 
        if  match is not None:
 
63
        if match is not None:
64
64
            self.date = match.group(1)
65
65
            return True
66
66
        return False