From b78276fc3d42fefecfc86ce84a2074f22d831527 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Tue, 25 Nov 2008 07:54:16 +0000 Subject: [PATCH] pisi cli does not have to give all user friendly messages. But "I/O Error" is not necessary here. BUG:FIXED:6402 --- pisi/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/util.py b/pisi/util.py index ca7e1690..92b784e8 100644 --- a/pisi/util.py +++ b/pisi/util.py @@ -409,7 +409,7 @@ def sha1_file(filename): del block return m.hexdigest() except IOError: - raise FileError(_("I/O Error: Cannot calculate SHA1 hash of %s") % filename) + raise FileError(_("Cannot calculate SHA1 hash of %s") % filename) def sha1_data(data): """Calculate sha1 hash of given data."""