Skip to content

Commit

Permalink
Minor update based on review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Grubb committed May 2, 2015
1 parent 9ac7f2e commit e044892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/buildbot/steps/source/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ def _sourcedirIsUpdatable(self):
files = cmd.updates['files'][0]
if '.git' in files:
defer.returnValue("update")
elif len(files) > 0:
elif files:
defer.returnValue("clobber")
else:
defer.returnValue("clone")

0 comments on commit e044892

Please sign in to comment.