Elee has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/223046

Change subject: added year into logging
......................................................................

added year into logging

Change-Id: Ia1a8bddfa60fc50d95cfbc2227ca395b8b68f7c4
---
M adminlog.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/debs/adminbot 
refs/changes/46/223046/1

diff --git a/adminlog.py b/adminlog.py
index 240c778..2e89a4e 100644
--- a/adminlog.py
+++ b/adminlog.py
@@ -43,7 +43,7 @@
        if months[now.month - 1] != month or now.day != int(day):
                lines.insert(0, "")
                lines.insert(0, logline)
-               lines.insert(0, "%s %s %d %s" % (header, months[now.month - 1],
+               lines.insert(0, "%s %s %d %s" % (header, now.year, 
months[now.month - 1],
                        now.day, header))
        else:
                lines.insert(position, logline)

-- 
To view, visit https://gerrit.wikimedia.org/r/223046
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1a8bddfa60fc50d95cfbc2227ca395b8b68f7c4
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/adminbot
Gerrit-Branch: master
Gerrit-Owner: Elee <e...@mit.edu>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to