r85987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85986‎ | r85987 | r85988 >
Date:19:49, 13 April 2011
Author:diederik
Status:deferred
Tags:
Comment:
Added progress information.
Modified paths:
  • /trunk/tools/editor_trends/etl/extracter.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/etl/extracter.py
@@ -168,6 +168,8 @@
169169 print '''Archive file is possibly corrupted. Please delete this archive
170170 and retry downloading. Error message: %s''' % error
171171 sys.exit(-1)
 172+ except Exception, error:
 173+ print error
172174
173175 filename = 'counts_kaggle_%s.csv' % file_id
174176 fh = file_utils.create_txt_filehandle(rts.txt, filename, 'w', 'utf-8')