Skip to content

Commit e064e65

Browse files
committed
fix commit args typo
1 parent c1a89f5 commit e064e65

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

helpers/assistant.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def run_cmd(args, host, procs):
2020
cmd_in_ssh = 'git clone https://github.com/StanfordSNR/indigo.git'
2121

2222
elif cmd == 'git_checkout':
23-
cmd_in_ssh = 'cd %s && git fetch --all && git checkout %s' % args.commit
23+
cmd_in_ssh = ('cd %s && git fetch --all && '
24+
'git checkout %s' % (args.rlcc_dir, args.commit))
2425

2526
elif cmd == 'git_pull':
2627
cmd_in_ssh = ('cd %s && git fetch --all && '

helpers/train_dagger.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def main():
3838
assistant_cmd = ('%s/helpers/assistant.py --remote=%s --username=%s '
3939
'--rlcc-dir=%s '
4040
% (args.rlcc_dir, remote_ip,
41-
args.username, args.rlcc_dir, args.commit))
41+
args.username, args.rlcc_dir))
4242

4343
if args.git_push:
4444
check_call('git add -A && '

0 commit comments

Comments
 (0)