r81174 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81173‎ | r81174 | r81175 >
Date:22:30, 28 January 2011
Author:diederik
Status:deferred
Tags:
Comment:
A little bit of cleaning up.
Modified paths:
  • /trunk/tools/editor_trends/bots/detector.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/bots/detector.py
@@ -160,7 +160,7 @@
161161 bot.id = contributor.find('id').text
162162 timestamp = revision.find('timestamp').text
163163 if timestamp != None:
164 - timestamp = file_utils.convert_timestamp_to_datetime_naive(timestamp)
 164+ timestamp = file_utils.convert_timestamp_to_datetime_naive(timestamp, settings.timestamp_format)
165165 bot.time[str(timestamp.year)].append(timestamp)
166166 bots[username] = bot
167167

Status & tagging log