/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 roundtrip.py

Handle empty metadata.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
    if not metadata:
89
89
        return message
90
90
    rt_data = generate_roundtripping_metadata(metadata, encoding)
 
91
    if not rt_data:
 
92
        return message
91
93
    assert type(rt_data) == str
92
94
    return message + "\n--BZR--\n" + rt_data
93
95