Skip to content

Commit

Permalink
Fix hard-coded VCS name
Browse files Browse the repository at this point in the history
  • Loading branch information
mwilliamson committed Dec 20, 2012
1 parent 13f2dd8 commit fa10658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blah/fetcher.py
Expand Up @@ -72,7 +72,7 @@ def _update(repository_uri, local_path, vcs):
message = "Checkout path already exists, and is not directory: {0}".format(local_path)
raise blah.errors.BlahUserError(message)
elif not os.path.isdir(vcs_directory):
message = "{0} already exists and is not a git repository".format(local_path)
message = "{0} already exists and is not a {1} repository".format(local_path, vcs.name)
raise blah.errors.BlahUserError(message)
else:
local_repo = vcs.local_repo(local_path)
Expand Down

0 comments on commit fa10658

Please sign in to comment.