formats: make sure 'unar' is existed

Enterprise / Virtualization / virt-manager - Chen Hanxiao [cn.fujitsu.com] - 5 March 2014 19:22 UTC

Commit 0b4a72fd77f74e5a9f6885179febe601156df617 need unar command to do something.

But if we haven't installed it, the error message told us nothing valuable as: "OSError: [Errno 2] No such file or directory"

This patch will impove the error message.

98a27fc formats: make sure 'unar' is existed
virtconv/formats.py | 9 +++++++++
1 file changed, 9 insertions(+)

Upstream: git.fedorahosted.org


  • Share