This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project = 'hi' | |
commit = None | |
with lcd("%s" % (project)): | |
commit = local("git log -g --pretty=%B -n 1") | |
print commit #This prints the right message | |
print commit # This doesn't |