Chromium Code Reviews| Index: commit_queue.py |
| diff --git a/commit_queue.py b/commit_queue.py |
| index 8bb63acca00fb18d564e6f7449b9ec0e210aeb71..643a7c0f49cf020efa2cb963c9b09c1267f7b596 100755 |
| --- a/commit_queue.py |
| +++ b/commit_queue.py |
| @@ -224,12 +224,10 @@ def main(): |
| parser.error('--only-issue is not supported with dry run') |
| else: |
| print('Using read-only Rietveld') |
| - # Make sure rietveld is not modified. |
| - rietveld_obj = rietveld.ReadOnlyRietveld( |
| - url, |
| - options.user, |
| - gaia_creds.get(options.user), |
| - None) |
| + # Make sure rietveld is not modified. Pass empty email and |
| + # password to bypass authentication; this additionally |
| + # guarantees rietveld will not allow any changes |
|
Paweł Hajdan Jr.
2014/01/23 01:26:08
nit: Add dot at the end of sentence.
Sergey Berezin
2014/01/23 02:00:02
done
|
| + rietveld_obj = rietveld.ReadOnlyRietveld(url, email='', password='') |
| else: |
| AlertOnUncleanCheckout() |
| print('WARNING: The Commit Queue is going to commit stuff') |