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

Unified Diff: apply_issue.py

Issue 10704111: Allow apply_issue.py to make api calls to rietveld that don't require (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Removed default for --email option Created 8 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 | rietveld.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apply_issue.py
===================================================================
--- apply_issue.py (revision 145588)
+++ apply_issue.py (working copy)
@@ -25,6 +25,10 @@
'-v', '--verbose', action='count', default=0,
help='Prints debugging infos')
parser.add_option(
+ '-e',
+ '--email',
+ 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 +52,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(
« no previous file with comments | « no previous file | rietveld.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698