Skip to content

Commit

Permalink
Fix typo in the method name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Nov 14, 2016
1 parent 96dc28e commit dcf821f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/packs/actions/pack_mgmt/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ def _clone_repo(temp_dir, repo_url, verifyssl=True, ref='master'):
# Giving up ¯\_(ツ)_/¯
if not gitref:
format_values = [ref, repo_url]
msg = '"%s" is not a valid version, hash, tag, or branch in %s.'
msg = '"%s" is not a valid version, hash, tag or branch in %s.'

valid_versions = DownloadGitRepoAction._get_valid_version_for_repo(repo=repo)
valid_versions = DownloadGitRepoAction._get_valid_versions_for_repo(repo=repo)
if len(valid_versions) >= 1:
valid_versions_string = ', '.join(valid_versions)

Expand Down Expand Up @@ -299,7 +299,7 @@ def _get_pack_ref(pack_dir):
return pack_ref

@staticmethod
def _get_valid_version_for_repo(repo):
def _get_valid_versions_for_repo(repo):
"""
Method which returns a valid versions for a particular repo (pack).
Expand Down

0 comments on commit dcf821f

Please sign in to comment.