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

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
         self.nowfun = nowfun
 
 
     def __repr__(self):
     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_hour or "*",
                                                 self._orig_day_of_week or "*")
                                                 self._orig_day_of_week or "*")