olivierverdier/zsh-git-prompt — pull request #37 by sshine (2014-01-11 14:16:53+00:00)
Title: Remove unintended b'...' around branch name

The variable branch is a bytes object, which means that when converting this to
string using str(), it gets an unintended b'...'. This is resolved by decoding
the bytes object using branch.decode('utf-8') as done elsewhere in the script.

This problem otherwise occurs using both python2.7 and python3.3.