CLI: More details when files conflict in download-task

Fixes: https://pagure.io/koji/issue/3433
This commit is contained in:
Jana Cupova 2022-07-12 08:55:40 +02:00 committed by Tomas Kopecek
parent 37b207cf44
commit 310331c3f7
2 changed files with 11 additions and 1 deletions

View file

@ -702,7 +702,8 @@ Options:
self.assert_system_exit(
anon_handle_download_task,
self.options, self.session, args,
stderr="Download files names conflict, use --dirpertask\n",
stderr="Duplicate file somerpm.noarch.rpm for volume DEFAULT (tasks [22222, 55555])\n"
"Download files names conflict, use --dirpertask\n",
stdout='',
activate_session=None,
exit_code=1)