Skip to content

Commit

Permalink
Fix typo in error message (#3369)
Browse files Browse the repository at this point in the history
"The package_file '+ package_file + ' should ends with..." replaced by "The package_file '+ package_file + ' should end with..."
  • Loading branch information
tholop committed Jun 30, 2020
1 parent de2e0f2 commit 50fd45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def _choose_pipeline_yaml_file(file_list) -> str:
with open(package_file, 'r') as f:
return yaml.safe_load(f)
else:
raise ValueError('The package_file '+ package_file + ' should ends with one of the following formats: [.tar.gz, .tgz, .zip, .yaml, .yml]')
raise ValueError('The package_file '+ package_file + ' should end with one of the following formats: [.tar.gz, .tgz, .zip, .yaml, .yml]')

def list_pipelines(self, page_token='', page_size=10, sort_by=''):
"""List pipelines.
Expand Down

0 comments on commit 50fd45f

Please sign in to comment.