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

Unified Diff: appengine/swarming/server/task_request.py

Issue 2267363004: Add CIPD pin reporting to swarming. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Fix bottest Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/swarming/message_conversion.py ('k') | appengine/swarming/server/task_result.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/server/task_request.py
diff --git a/appengine/swarming/server/task_request.py b/appengine/swarming/server/task_request.py
index da546984fc708bdc8586736b89728009b8ccb2ce..732d1d251664288c3bfa93454cbbb915adfbca7e 100644
--- a/appengine/swarming/server/task_request.py
+++ b/appengine/swarming/server/task_request.py
@@ -333,15 +333,6 @@ class CipdInput(ndb.Model):
package_names.add(p.package_name)
self.packages.sort(key=lambda p: p.package_name)
- def packages_grouped_by_path(self):
- """Returns sorted [(path), [package]) list. Used by user_task.html."""
- packages = collections.defaultdict(list)
- for p in self.packages:
- packages[p.path].append(p)
- for pkgs in packages.itervalues():
- pkgs.sort()
- return sorted(packages.iteritems())
-
class TaskProperties(ndb.Model):
"""Defines all the properties of a task to be run on the Swarming
« no previous file with comments | « appengine/swarming/message_conversion.py ('k') | appengine/swarming/server/task_result.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698