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

Unified Diff: src/platform/dev/devserver.py

Issue 1633018: devserver support for update images from buildbot. (Closed)
Patch Set: Created 10 years, 8 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 | « src/platform/dev/autoupdate.py ('k') | src/scripts/emit_gpt_scripts.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/dev/devserver.py
diff --git a/src/platform/dev/devserver.py b/src/platform/dev/devserver.py
index 20aac0676fb5325a245ede52d856af519a467410..c2aa7b9213e19f980a447374c5eac236df7547f6 100644
--- a/src/platform/dev/devserver.py
+++ b/src/platform/dev/devserver.py
@@ -45,7 +45,7 @@ class build:
if __name__ == '__main__':
usage = 'usage: %prog [options]'
parser = optparse.OptionParser(usage)
- parser.add_option('-a', '--archive_dir', dest='archive_dir',
+ parser.add_option('--archive_dir', dest='archive_dir',
help='serve archived builds only.')
parser.add_option('--factory_config', dest='factory_config',
help='Config file for serving images from factory floor.')
@@ -58,7 +58,6 @@ if __name__ == '__main__':
options, args = parser.parse_args()
# clean up the args, due to httpserver's hardcoded use of sys.argv
if options.archive_dir:
- sys.argv.remove('-a')
sys.argv.remove('--archive_dir')
sys.argv.remove(options.archive_dir)
if options.factory_config:
« no previous file with comments | « src/platform/dev/autoupdate.py ('k') | src/scripts/emit_gpt_scripts.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698