/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

Fix handling of a particular kind of broken committer id.

Merged from https://code.launchpad.net/~jelmer/brz/fix-person-identifier/+merge/385322

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)