Index: git-review/git-review =================================================================== --- git-review.orig/git-review 2014-04-15 14:52:50.488647000 +0200 +++ git-review/git-review 2014-04-19 11:07:59.501946193 +0200 @@ -1174,6 +1174,9 @@ GIT_EDITOR="sed -i -e " "'/^Change-Id:/d'") + # for python2 compatibility + if type(cmd) == 'unicode': + cmd = cmd.encode('utf-8') if options.dry: print("Please use the following command " "to send your commits to review:\n")