summaryrefslogtreecommitdiff
path: root/squad_client
diff options
context:
space:
mode:
authorJustin Cook <justin.cook@linaro.org>2020-10-23 15:22:18 -0500
committerJustin Cook <justin.cook@linaro.org>2020-10-23 15:22:18 -0500
commite121d931ede8c444f08bb005f85266a5bb83b2c1 (patch)
tree8f07ecce716ecf9027ea6652eb8eb8d32a4100b5 /squad_client
parent7252a7b67505c7b26421b90885b97824d425c435 (diff)
Fix a file extension check error message
Diffstat (limited to 'squad_client')
-rw-r--r--squad_client/commands/submit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/squad_client/commands/submit.py b/squad_client/commands/submit.py
index fbfe064..d43d24a 100644
--- a/squad_client/commands/submit.py
+++ b/squad_client/commands/submit.py
@@ -75,7 +75,7 @@ class SubmitCommand(SquadClientCommand):
_, ext = os.path.splitext(file_path)
if ext not in ['.json', '.yml', '.yaml']:
- logger.error('File "%s" is neither JSON nor YAML')
+ logger.error('File "%s" does not have a JSON or YAML file extension' % file_path)
return None
parser = json.load if ext == '.json' else yaml.safe_load