r86951 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86950‎ | r86951 | r86952 >
Date:16:13, 26 April 2011
Author:diederik
Status:deferred
Tags:
Comment:
Fixed another edge case.
Modified paths:
  • /trunk/tools/editor_trends/etl/store.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/etl/store.py
@@ -55,7 +55,7 @@
5656 fh = file_utils.create_txt_filehandle(self.rts.sorted, filename,
5757 'r', 'utf-8')
5858 for line in file_utils.read_raw_data(fh):
59 - if len(line) == 1:
 59+ if len(line) == 1 or len(line) == 4:
6060 continue
6161 editor = line[0]
6262 #print 'Parsing %s' % editor