From 9a76bb1bee451edb4ebddfb90e738e1eb584cf55 Mon Sep 17 00:00:00 2001 From: Lorenzo Pivetta <lorenzo.pivetta@elettra.eu> Date: Tue, 28 Apr 2020 10:18:03 +0200 Subject: [PATCH] Update user error messages --- inau.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inau.py b/inau.py index b62dfa4..fffd81a 100644 --- a/inau.py +++ b/inau.py @@ -260,9 +260,9 @@ def install(username, reponame, tag, destinations, itype): for server, hosts in destinations.items(): repository = Repositories.query.with_parent(server.platform) \ .filter(Repositories.name == reponame) \ - .first_or_404(description='Repository doesn\'t found') + .first_or_404(description='Repository not found. Check syntax.') build = Builds.query.with_parent(repository).filter(Builds.tag == tag) \ - .first_or_404("Necessary builds isn't availables") + .first_or_404("Requested build not available. Check annotated tag.") try: with paramiko.SSHClient() as sshClient: sshClient.set_missing_host_key_policy(paramiko.AutoAddPolicy()) -- GitLab