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

Avoid use of deprecated get_apparent_author.

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
            commit._parents.append(git_p)
191
191
    commit._message = rev.message.encode("utf-8")
192
192
    commit._committer = rev.committer.encode("utf-8")
193
 
    commit._author = rev.get_apparent_author().encode("utf-8")
 
193
    commit._author = rev.get_apparent_authors()[0].encode("utf-8")
194
194
    commit._commit_time = long(rev.timestamp)
195
195
    commit.serialize()
196
196
    return commit