r109842 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109841‎ | r109842 | r109843 >
Date:19:02, 23 January 2012
Author:diederik
Status:deferred
Tags:
Comment:
Fix merge conflict.
Modified paths:
  • /trunk/tools/editor_trends/analyses/plugins/ppi_editor_productivity.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/analyses/plugins/ppi_editor_productivity.py
@@ -29,28 +29,24 @@
3030
3131 edits = editor['character_count']
3232 username = editor['username']
33 -<<<<<<< .mine
34 -
35 -=======
36 ->>>>>>> .r88955
3733 try:
3834 added = edits['2010']['11']['0']['added']
3935 except KeyError:
40 -<<<<<<< .mine
 36+
4137 added = 0
4238 try:
4339 removed = edits['2010']['11']['0']['removed']
4440 except KeyError:
4541 removed = 0
4642
47 -=======
 43+
4844 added = 0
4945 try:
5046 removed = edits['2010']['11']['0']['removed']
5147 except KeyError:
5248 removed = 0
53 ->>>>>>> .r88955
5449
 50+
5551 key = datetime(2010, 11, 30)
5652 if added > 0:
5753 var.add(key, added, {'username': username, 'added': 'added'})