Closed jself closed 11 years ago
If you're in is_local mode, sudo() is called, but sudo is also passed in on kwargs. I assume this needs to be the global sudo.
This is an ugly fix but preserves the syntax of the function api.
Good catch! It's not amazing that the parameter shadows the global but your solution is the best I can think of.
If you're in is_local mode, sudo() is called, but sudo is also passed in on kwargs. I assume this needs to be the global sudo.
This is an ugly fix but preserves the syntax of the function api.