Skip to content

Commit

Permalink
Removing erroneous chars
Browse files Browse the repository at this point in the history
  • Loading branch information
dliggat committed Nov 4, 2016
1 parent 624f43e commit 9608149
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fabfile.py
Expand Up @@ -62,7 +62,10 @@ def load_config():
"""Load the config from the config directory into a deep dict, keyed by stack type."""
config = {'git': {'hash': subprocess.check_output(['git', 'rev-parse', 'HEAD'])[:-1],
'message': subprocess.check_output([
'git', 'log', '-1', '--pretty=%B']).strip().replace('"', ''),
'git', 'log', '-1', '--pretty=%B']).strip().replace('"', '')
.replace('#', '')
.replace('\n', '')
.replace(':', ' '),
'uncommitted': True if subprocess.call(
'git diff-index --quiet HEAD --'.split(' ')) else False }}

Expand Down

0 comments on commit 9608149

Please sign in to comment.