Nicely done. Now the only thing left to replicate the same treatment as 'initial_comment' (since I don't know the progeny of the string passed in to the Proposer constructor), is to apply strip() and encode('utf-8') to the string in the return statement. Example below:
Nicely done. Now the only thing left to replicate the same treatment as 'initial_comment' (since I don't know the progeny of the string passed in to the Proposer constructor), is to apply strip() and encode('utf-8') to the string in the return statement. Example below:
return self.commit_ message. strip() .encode( 'utf-8' )