Ask Solem 12 yıl önce
ebeveyn
işleme
8571226b71
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      celery/utils/log.py

+ 1 - 1
celery/utils/log.py

@@ -89,7 +89,7 @@ class ColorFormatter(logging.Formatter):
             try:
             try:
                 msg = record.msg
                 msg = record.msg
                 # safe_str will repr the color object
                 # safe_str will repr the color object
-                # and color will both on non-string objects
+                # and color will break on non-string objects
                 # so need to reorder calls based on type.
                 # so need to reorder calls based on type.
                 # Issue #427
                 # Issue #427
                 if isinstance(msg, basestring):
                 if isinstance(msg, basestring):