Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
ARIA-430 Typo in error message during CSAR creation
  • Loading branch information
tnadeauaria committed Dec 7, 2017
1 parent 9501ff0 commit 1e50f32886781aedd81f16a075ac852e9176fb95
Showing 1 changed file with 2 additions and 2 deletions.
@@ -56,7 +56,7 @@ def write(service_template_path, destination, logger):
raise ValueError('{0} is not a directory. Please specify the service template '
'directory.'.format(source))
if not os.path.isfile(service_template_path):
raise ValueError('{0} does not exists. Please specify a valid entry point.'
raise ValueError('{0} does not exist. Please specify a valid entry point.'
.format(service_template_path))
if os.path.exists(destination):
raise ValueError('{0} already exists. Please provide a path to where the CSAR should be '
@@ -97,7 +97,7 @@ def __init__(self, source, destination, logger):
self.metadata = {}
try:
if not os.path.exists(self.source):
raise ValueError('{0} does not exists. Please specify a valid CSAR path.'
raise ValueError('{0} does not exist. Please specify a valid CSAR path.'
.format(self.source))
if not zipfile.is_zipfile(self.source):
raise ValueError('{0} is not a valid CSAR.'.format(self.source))

0 comments on commit 1e50f32

Please sign in to comment.