Skip to content

Commit

Permalink
Builder|Pilot|Fixed: Issue comparing git commit hashes
Browse files Browse the repository at this point in the history
The old commits read from .pilot/heads were not stripped, so there
was a spurious newline at the end.
  • Loading branch information
skyjake committed Jun 10, 2015
1 parent b4cafac commit 3cf2b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrib/pilot.py
Expand Up @@ -130,7 +130,7 @@ def readBranchHeads():
heads = {}
if os.path.exists(headsFileName()):
for line in file(headsFileName(), 'rt').readlines():
name, commit = line.split(':')
name, commit = line.strip().split(':')
heads[name] = commit
return heads

Expand Down

0 comments on commit 3cf2b42

Please sign in to comment.