Fix redefined variable

This commit is contained in:
Erik Johnson 2016-01-14 12:17:13 -06:00
parent 5f95851987
commit ee40491166

View file

@ -3322,9 +3322,9 @@ def submodule(cwd,
)
if not isinstance(command, six.string_types):
command = str(command)
command = ['git', 'submodule', command]
command.extend(_format_opts(opts))
return _git_run(command,
cmd = ['git', 'submodule', command]
cmd.extend(_format_opts(opts))
return _git_run(cmd,
cwd=cwd,
runas=user,
identity=identity,