Improved message for unarchive. (#64594)

Signed-off-by: Satyajit Bulage <sbulage@redhat.com>
This commit is contained in:
Satyajit Bulage 2019-11-15 12:52:51 +05:30 committed by Abhijeet Kasurde
parent 01e4e1bb42
commit 864a597a3e

View file

@ -776,7 +776,7 @@ class TgzArchive(object):
return False, 'Command "%s" could not handle archive.' % self.cmd_path
# Errors and no files in archive assume that we weren't able to
# properly unarchive it
return False, 'Command "%s" found no files in archive.' % self.cmd_path
return False, 'Command "%s" found no files in archive. Empty archive files are not supported.' % self.cmd_path
# Class to handle tar files that aren't compressed