Преглед на файлове

Fixes repr of RetryTaskError

Ask Solem преди 11 години
родител
ревизия
50d15af364
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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):