##// END OF EJS Templates
celery tasks: use None as special value...
Mads Kiilerich -
r3626:0a1417ef beta
parent child Browse files
Show More
@@ -160,9 +160,9 b' def get_commits_stats(repo_name, ts_min_'
160 160 co_day_auth_aggr[akc(cs.author)]['data']]
161 161 time_pos = l.index(k)
162 162 except ValueError:
163 time_pos = False
163 time_pos = None
164 164
165 if time_pos >= 0 and time_pos is not False:
165 if time_pos >= 0 and time_pos is not None:
166 166
167 167 datadict = \
168 168 co_day_auth_aggr[akc(cs.author)]['data'][time_pos]
General Comments 0
You need to be logged in to leave comments. Login now