浏览代码

crontab.__repr__: Fixed typo "m/d/h" -> "m/h/d"

Ask Solem 14 年之前
父节点
当前提交
37d41c2499
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/schedules.py

+ 1 - 1
celery/schedules.py

@@ -224,7 +224,7 @@ class crontab(schedule):
         self.nowfun = nowfun
 
     def __repr__(self):
-        return "<crontab: %s %s %s (m/d/h)>" % (self._orig_minute or "*",
+        return "<crontab: %s %s %s (m/h/d)>" % (self._orig_minute or "*",
                                                 self._orig_hour or "*",
                                                 self._orig_day_of_week or "*")