pr: Use unicode object when generating the pull request title

This commit is contained in:
Martin Bornhold 2016-09-22 13:27:40 +02:00
parent 789560ba4d
commit 28c5525ace

View file

@ -1018,7 +1018,7 @@ class PullRequestModel(BaseModel):
}
def generate_pullrequest_title(self, source, source_ref, target):
return '{source}#{at_ref} to {target}'.format(
return u'{source}#{at_ref} to {target}'.format(
source=source,
at_ref=source_ref,
target=target,