| Index: tools/cr/cr/commands/sync.py
|
| diff --git a/tools/cr/cr/commands/sync.py b/tools/cr/cr/commands/sync.py
|
| index c18187f4934dae85dc901e40ac7ae94d7494a188..c7e6e70c2cf8a463c696ecec10fcab2ad8151a08 100644
|
| --- a/tools/cr/cr/commands/sync.py
|
| +++ b/tools/cr/cr/commands/sync.py
|
| @@ -36,17 +36,16 @@ class SyncCommand(cr.Command):
|
| # TODO(iancottrell): clean no-hooks support would be nice.
|
| return parser
|
|
|
| - def Run(self, context):
|
| - self.Sync(context, context.remains)
|
| + def Run(self):
|
| + self.Sync(cr.context.remains)
|
|
|
| @staticmethod
|
| - def Sync(context, args):
|
| + def Sync(args):
|
| # TODO(iancottrell): we should probably run the python directly,
|
| # rather than the shell wrapper
|
| # TODO(iancottrell): try to help out when the local state is not a good
|
| # one to do a sync in
|
| - cr.Host.Execute(context, '{GCLIENT_BINARY}', 'sync', *args)
|
| -
|
| + cr.Host.Execute('{GCLIENT_BINARY}', 'sync', *args)
|
|
|
| @classmethod
|
| def ClassInit(cls):
|
|
|