From 4765de8bf5a8997bb3086d79ffdd5d6a4beac919 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 15 Sep 2010 16:22:39 +0200 Subject: [PATCH] [entropy.transceivers] EntropyFtpUriHandler: use repr() when showing error string --- .../uri_handlers/plugins/interfaces/ftp_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/entropy/transceivers/uri_handlers/plugins/interfaces/ftp_plugin.py b/libraries/entropy/transceivers/uri_handlers/plugins/interfaces/ftp_plugin.py index be2ff58e0..3a9c4d24d 100644 --- a/libraries/entropy/transceivers/uri_handlers/plugins/interfaces/ftp_plugin.py +++ b/libraries/entropy/transceivers/uri_handlers/plugins/interfaces/ftp_plugin.py @@ -379,7 +379,7 @@ class EntropyFtpUriHandler(EntropyUriHandler): print_traceback() mytxt = red("%s: %s, %s... #%s") % ( _("Download issue"), - e, + repr(e), _("retrying"), tries+1, ) @@ -448,7 +448,7 @@ class EntropyFtpUriHandler(EntropyUriHandler): print_traceback() mytxt = red("%s: %s, %s... #%s") % ( _("Upload issue"), - e, + repr(e), _("retrying"), tries+1, )