mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix redefined variable
This commit is contained in:
parent
5f95851987
commit
ee40491166
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue