[entropy.transceivers] EntropyFtpUriHandler: use repr() when showing error string

This commit is contained in:
Fabio Erculiani
2010-09-15 16:22:39 +02:00
parent e9d380c9a9
commit 4765de8bf5
@@ -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,
)