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

Unified Diff: tools/cr/cr/commands/install.py

Issue 142933004: [cr tool] Make context implicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 9 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 | « tools/cr/cr/commands/init.py ('k') | tools/cr/cr/commands/prepare.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cr/cr/commands/install.py
diff --git a/tools/cr/cr/commands/install.py b/tools/cr/cr/commands/install.py
index 51a02b36eea620866b4b67226d4e912f5135eb1d..20e1dff2b4691078f1316df6bd7cded086f8abd4 100644
--- a/tools/cr/cr/commands/install.py
+++ b/tools/cr/cr/commands/install.py
@@ -29,8 +29,8 @@ class InstallCommand(cr.Command):
self.ConsumeArgs(parser, 'the installer')
return parser
- def Run(self, context):
- targets = cr.Target.GetTargets(context)
- if not cr.Installer.Skipping(context):
- cr.Builder.Build(context, targets, [])
- cr.Installer.Reinstall(context, targets, context.remains)
+ def Run(self):
+ targets = cr.Target.GetTargets()
+ if not cr.Installer.Skipping():
+ cr.Builder.Build(targets, [])
+ cr.Installer.Reinstall(targets, cr.context.remains)
« no previous file with comments | « tools/cr/cr/commands/init.py ('k') | tools/cr/cr/commands/prepare.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698