Explorar o código

Fixes repr of RetryTaskError

Ask Solem %!s(int64=11) %!d(string=hai) anos
pai
achega
50d15af364
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/exceptions.py

+ 1 - 1
celery/exceptions.py

@@ -91,7 +91,7 @@ class RetryTaskError(Exception):
         if self.message:
             return self.message
         if self.excs:
-            return 'Retry %s: %r' % (self.humanize(), self.excs)
+            return 'Retry %s: %s' % (self.humanize(), self.excs)
         return 'Retry %s' % self.humanize()
 
     def __reduce__(self):