Chromium Code Reviews| Index: apply_issue.py |
| =================================================================== |
| --- apply_issue.py (revision 145588) |
| +++ apply_issue.py (working copy) |
| @@ -25,6 +25,11 @@ |
| '-v', '--verbose', action='count', default=0, |
| help='Prints debugging infos') |
| parser.add_option( |
| + '-e', |
| + '--email', |
| + default=None, |
|
M-A Ruel
2012/07/06 17:15:20
remove default=None
Roger Tawa OOO till Jul 10th
2012/07/06 17:21:14
Done.
|
| + help='Email address for authenticating with Rietveld') |
| + parser.add_option( |
| '-i', '--issue', type='int', help='Rietveld issue number') |
| parser.add_option( |
| '-p', '--patchset', type='int', help='Rietveld issue\'s patchset number') |
| @@ -48,7 +53,7 @@ |
| if not options.issue: |
| parser.error('Require --issue') |
| - obj = rietveld.Rietveld(options.server, None, None) |
| + obj = rietveld.Rietveld(options.server, options.email, None) |
| if not options.patchset: |
| options.patchset = obj.get_issue_properties( |