瀏覽代碼

fixes typo

Ask Solem 12 年之前
父節點
當前提交
8571226b71
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/utils/log.py

+ 1 - 1
celery/utils/log.py

@@ -89,7 +89,7 @@ class ColorFormatter(logging.Formatter):
             try:
                 msg = record.msg
                 # 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.
                 # Issue #427
                 if isinstance(msg, basestring):