Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: appengine/swarming/server/stats_gviz.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/swarming/server/stats.py ('k') | appengine/swarming/server/stats_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Swarming Authors. All rights reserved. 1 # Copyright 2014 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Frontend handlers for statistics.""" 5 """Frontend handlers for statistics."""
6 6
7 import datetime 7 import datetime
8 import itertools 8 import itertools
9 import json 9 import json
10 10
11 import template 11 import template
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 dimensions = None 225 dimensions = None
226 226
227 @auth.require(acl.is_user) 227 @auth.require(acl.is_user)
228 def get(self, dimensions, resolution): 228 def get(self, dimensions, resolution):
229 # Save it for later use in self.process_data(). 229 # Save it for later use in self.process_data().
230 self.dimensions = dimensions 230 self.dimensions = dimensions
231 self.send_response(_Dimensions, resolution) 231 self.send_response(_Dimensions, resolution)
232 232
233 def get_table(self, stats_data): 233 def get_table(self, stats_data):
234 return _stats_data_to_dimensions(stats_data, self.dimensions) 234 return _stats_data_to_dimensions(stats_data, self.dimensions)
OLDNEW
« no previous file with comments | « appengine/swarming/server/stats.py ('k') | appengine/swarming/server/stats_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698