Merge pull request #34179 from terminalmage/issue34114

Raise the correct exception when gitfs lockfile is empty
This commit is contained in:
Mike Place 2016-06-21 13:00:59 -07:00 committed by GitHub
commit 5cbaaed167

View file

@ -441,7 +441,7 @@ class GitProvider(object):
'by another master.')
log.warning(msg)
if failhard:
raise
raise exc
return
elif pid and pid_exists(pid):
log.warning('Process %d has a %s %s lock (%s)',