Skip to content

Commit

Permalink
Fixed missing return statement in Mercurial.controls_location(), it
Browse files Browse the repository at this point in the history
only got found after reverting `VersionControl.controls_location()`
  • Loading branch information
tbeswick-enphase committed Oct 11, 2019
1 parent 24a2be8 commit 7ebc541
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pip/_internal/vcs/mercurial.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def controls_location(cls, location):
show_stdout=False,
on_returncode='raise',
log_failed_cmd=False)
return True
except (BadCommand, InstallationError):
return False

Expand Down

0 comments on commit 7ebc541

Please sign in to comment.