r87441 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87440‎ | r87441 | r87442 >
Date:20:08, 4 May 2011
Author:rfaulk
Status:deferred
Tags:
Comment:
- minor modifications to documentation
- generalized import paths to 'Fundraiser_Tools'
Modified paths:
  • /trunk/fundraiser-statistics/fundraiser-scripts/classes/TimestampProcessor.py (modified) (history)

Diff [purge]

Index: trunk/fundraiser-statistics/fundraiser-scripts/classes/TimestampProcessor.py
@@ -3,9 +3,6 @@
44
55 This module effectively functions as a Singleton class.
66
7 -TimestampProcesser module is used to provide definitions for dealing with date and time
8 -objects. This is primarily used to handle
9 -
107 TimestampProcesser facilitates the processing of timestamps used in the CiviCRM and "faulkner" mySQL
118 databases. This includes mapping among timestamp formats and converting those formats to indexed
129 lists and dictionaries.
@@ -38,15 +35,15 @@
3936
4037 __author__ = "Ryan Faulkner"
4138 __revision__ = "$Rev$"
42 -__date__ = "April 8th, 2010"
 39+__date__ = "April 8th, 2011"
4340
4441
4542 import sys
46 -sys.path.append('../')
 43+# sys.path.append('../')
4744
4845 import datetime
4946 import math
50 -import miner_help as mh
 47+import Fundraiser_Tools.miner_help as mh
5148
5249
5350 """
@@ -480,4 +477,5 @@
481478 """ append the last items onto time lists """
482479 times.append(end_time)
483480
484 - return [times, time_indices]
\ No newline at end of file
 481+ return [times, time_indices]
 482+

Status & tagging log