/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 breezy/git/mapping.py

  • Committer: Jelmer Vernooij
  • Date: 2020-06-15 01:29:36 UTC
  • mfrom: (7490.40.4 work)
  • mto: (7490.40.19 work)
  • mto: This revision was merged to the branch mainline in revision 7516.
  • Revision ID: jelmer@jelmer.uk-20200615012936-1adqbu592y7lzmy8
Merge upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
    if b"<" not in text and b">" not in text:
122
122
        username = text
123
123
        email = text
 
124
    elif b">" not in text:
 
125
        return text + b">"
124
126
    else:
125
127
        if text.rindex(b">") < text.rindex(b"<"):
126
128
            raise ValueError(text)