Ignore:
Timestamp:
20/05/10 10:45:21 (10 years ago)
Author:
astephen
Message:

Added and updated various code to match security, download URLs that are
secured and chunking of MIDAS outputs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/utils/duration_splitter.py

    r6867 r6873  
    101101            ct = self._addDay(ct) 
    102102 
    103             if (self._isLastDayOfMonth(ct) and chunk_size == "month") or \ 
    104                    (self._isLastDayOfYear(ct) and chunk_size == "year") or \ 
    105                    (self._isLastDayOfDecade(ct) and chunk_size == "decade"): 
     103            if (self._isLastDayOfMonth(ct) and chunk_unit == "month") or \ 
     104                   (self._isLastDayOfYear(ct) and chunk_unit == "year") or \ 
     105                   (self._isLastDayOfDecade(ct) and chunk_unit == "decade"): 
    106106 
    107107                this_chunk.append(ct) 
Note: See TracChangeset for help on using the changeset viewer.