Chromium Code Reviews| Index: git_cl.py |
| diff --git a/git_cl.py b/git_cl.py |
| index 66bb76831aa3c1608b5b06b7585353be41579cb4..9c8c9fa3c20c6acd053f286aa654f12798f2ac57 100755 |
| --- a/git_cl.py |
| +++ b/git_cl.py |
| @@ -350,7 +350,7 @@ def _get_bucket_map(changelist, options, option_parser): |
| change = changelist.GetChange( |
| changelist.GetCommonAncestorWithUpstream(), None) |
| # Get try masters from PRESUBMIT.py files. |
| - return presubmit_support.DoGetTryMasters( |
| + masters = presubmit_support.DoGetTryMasters( |
| change=change, |
| changed_files=change.LocalPaths(), |
| repository_root=settings.GetRoot(), |
| @@ -358,6 +358,7 @@ def _get_bucket_map(changelist, options, option_parser): |
| project=None, |
| verbose=options.verbose, |
| output_stream=sys.stdout) |
| + return {MASTER_PREFIX + m: b for m, b in masters.iteritems()} |
|
qyearsley
2016/11/04 22:02:52
Could be changed to:
return {_prefix_master(m): b
nodir
2016/11/04 22:04:04
I don't like _prefix_master. It assumes that no ma
|
| if options.bucket: |
| return {options.bucket: {b: [] for b in options.bot}} |