Browse Source

Seven days to five days, per Steven's request.

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
2803a8a268
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      earwigbot/tasks/drn_clerkbot.py

+ 2
- 2
earwigbot/tasks/drn_clerkbot.py View File

@@ -365,10 +365,10 @@ class DRNClerkBot(Task):


A message will be set to the "very old notifiee", which is generally A message will be set to the "very old notifiee", which is generally
[[User talk:Szhang (WMF)]], if the case has been open for more than [[User talk:Szhang (WMF)]], if the case has been open for more than
seven days.
five days.
""" """
age = (datetime.utcnow() - case.file_time).total_seconds() age = (datetime.utcnow() - case.file_time).total_seconds()
if age > 60 * 60 * 24 * 7:
if age > 60 * 60 * 24 * 5:
if not case.very_old_notified: if not case.very_old_notified:
template = "{{subst:" + self.tl_notify_stale + "|" template = "{{subst:" + self.tl_notify_stale + "|"
template += case.title.replace("|", "|") + "}}" template += case.title.replace("|", "|") + "}}"


Loading…
Cancel
Save