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

Unified Diff: appengine/cr-buildbucket/acl.py

Issue 2158953002: swarmbucket: add $project template parameter (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | appengine/cr-buildbucket/config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/cr-buildbucket/acl.py
diff --git a/appengine/cr-buildbucket/acl.py b/appengine/cr-buildbucket/acl.py
index 32a35bcb3948be167f931649cae86746b7278c2d..1d3b183100a2291275c04dd66abc2dfc17c1a3d2 100644
--- a/appengine/cr-buildbucket/acl.py
+++ b/appengine/cr-buildbucket/acl.py
@@ -115,7 +115,7 @@ def has_any_of_roles_async(bucket, roles):
if auth.is_admin():
raise ndb.Return(True)
- bucket_cfg = yield config.get_bucket_async(bucket)
+ _, bucket_cfg = yield config.get_bucket_async(bucket)
identity_str = auth.get_current_identity().to_bytes()
if bucket_cfg:
for rule in bucket_cfg.acls:
« no previous file with comments | « no previous file | appengine/cr-buildbucket/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698