From 54a056c27745df92d41b8ce95ab481f3dd55b7e1 Mon Sep 17 00:00:00 2001 From: ksunden Date: Mon, 14 May 2018 18:38:43 -0500 Subject: [PATCH] Change error to warning --- pubs/commands/url_cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pubs/commands/url_cmd.py b/pubs/commands/url_cmd.py index a2fd002..019edca 100644 --- a/pubs/commands/url_cmd.py +++ b/pubs/commands/url_cmd.py @@ -23,13 +23,13 @@ def command(conf, args): ui = get_ui() rp = repo.Repository(conf) - for key in resolve_citekey_list(rp, args.citekey, ui=ui, exit_on_fail=True): + for key in resolve_citekey_list(rp, args.citekey, ui=ui, exit_on_fail=False): try: paper = rp.pull_paper(key) url = paper.bibdata['url'] webbrowser.open(url) except KeyError as e: - ui.error('{} has no url'.format(key)) + ui.warning('{} has no url'.format(key)) rp.close()