Skip to content

Commit

Permalink
Small bugfix: args_outs --> args_outs[0]
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpetrov committed Dec 25, 2017
1 parent c760e53 commit 7a30013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dvc/command/run.py
Original file line number Diff line number Diff line change
@@ -25,9 +25,9 @@ def stage_file_name(args_file, args_outs, args_outs_no_cache):
return args_file

if args_outs:
result = CmdRun._stage_file_basename(args_outs)
result = CmdRun._stage_file_basename(args_outs[0])
elif args_outs_no_cache:
result = CmdRun._stage_file_basename(args_outs_no_cache)
result = CmdRun._stage_file_basename(args_outs_no_cache[0])
else:
result = Stage.STAGE_FILE

0 comments on commit 7a30013

Please sign in to comment.