Show More
@@ -146,10 +146,8 b' def get_commits_stats(repo_name, ts_min_' | |||
|
146 | 146 | datadict["added"] += len(cs.added) |
|
147 | 147 | datadict["changed"] += len(cs.changed) |
|
148 | 148 | datadict["removed"] += len(cs.removed) |
|
149 | #print datadict | |
|
150 | 149 | |
|
151 | 150 | else: |
|
152 | #print 'ELSE !!!!' | |
|
153 | 151 | if k >= ts_min_y and k <= ts_max_y or skip_date_limit: |
|
154 | 152 | |
|
155 | 153 | datadict = {"time":k, |
@@ -162,7 +160,6 b' def get_commits_stats(repo_name, ts_min_' | |||
|
162 | 160 | [author_key_cleaner(cs.author)]['data'].append(datadict) |
|
163 | 161 | |
|
164 | 162 | else: |
|
165 | #print k, 'nokey ADDING' | |
|
166 | 163 | if k >= ts_min_y and k <= ts_max_y or skip_date_limit: |
|
167 | 164 | commits_by_day_author_aggregate[author_key_cleaner(cs.author)] = { |
|
168 | 165 | "label":author_key_cleaner(cs.author), |
@@ -175,7 +172,7 b' def get_commits_stats(repo_name, ts_min_' | |||
|
175 | 172 | "schema":["commits"], |
|
176 | 173 | } |
|
177 | 174 | |
|
178 |
|
|
|
175 | #gather all data by day | |
|
179 | 176 | if commits_by_day_aggregate.has_key(k): |
|
180 | 177 | commits_by_day_aggregate[k] += 1 |
|
181 | 178 | else: |
@@ -31,7 +31,7 b'' | |||
|
31 | 31 | <label for="repo_name">${_('Name')}:</label> |
|
32 | 32 | </div> |
|
33 | 33 | <div class="input"> |
|
34 | ${h.text('repo_name',c.new_repo)} | |
|
34 | ${h.text('repo_name',c.new_repo,class_="small")} | |
|
35 | 35 | </div> |
|
36 | 36 | </div> |
|
37 | 37 | <div class="field"> |
@@ -27,7 +27,7 b'' | |||
|
27 | 27 | <label for="repo_name">${_('Name')}:</label> |
|
28 | 28 | </div> |
|
29 | 29 | <div class="input"> |
|
30 | ${h.text('repo_name',c.new_repo)} | |
|
30 | ${h.text('repo_name',c.new_repo,class_="small")} | |
|
31 | 31 | ${h.hidden('user_created','True')} |
|
32 | 32 | </div> |
|
33 | 33 | </div> |
@@ -32,7 +32,7 b'' | |||
|
32 | 32 | <label for="repo_name">${_('Name')}:</label> |
|
33 | 33 | </div> |
|
34 | 34 | <div class="input input-medium"> |
|
35 | ${h.text('repo_name')} | |
|
35 | ${h.text('repo_name',class_="small")} | |
|
36 | 36 | </div> |
|
37 | 37 | </div> |
|
38 | 38 |
General Comments 0
You need to be logged in to leave comments.
Login now