Revision: 4378 Author: valhallasw Date: 2007-09-29 09:41:08 +0000 (Sat, 29 Sep 2007)
Log Message: ----------- Russblau, please confirm the code is working before committing ;)
Modified Paths: -------------- trunk/pywikipedia/splitwarning.py
Modified: trunk/pywikipedia/splitwarning.py =================================================================== --- trunk/pywikipedia/splitwarning.py 2007-09-29 07:32:34 UTC (rev 4377) +++ trunk/pywikipedia/splitwarning.py 2007-09-29 09:41:08 UTC (rev 4378) @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- """Splits a interwiki.log file into chunks of warnings separated by language""" # # (C) Rob W.W. Hooft, 2003 @@ -29,7 +29,7 @@ if not files.has_key(code): files[code] = codecs.open( wikipedia.datafilepath('logs', - '/warning-%s-%s.log' % (family, code), + 'warning-%s-%s.log' % (family, code)), 'w', 'utf-8') count[code] = 0 files[code].write(line)
pywikipedia-l@lists.wikimedia.org