Remove default dictionary from function def
Removes an unnecessary dictionary created in the default parameters definition for the execute function in ip_lib. Partial-Bug: #1327473 Change-Id: I9b60e87d1043aa67a14675dad2185395df940301
This commit is contained in:
parent
303bd9d29a
commit
bc61dd0e34
|
@ -532,7 +532,7 @@ class IpNetnsCommand(IpCommandBase):
|
|||
def delete(self, name):
|
||||
self._as_root('delete', name, use_root_namespace=True)
|
||||
|
||||
def execute(self, cmds, addl_env={}, check_exit_code=True,
|
||||
def execute(self, cmds, addl_env=None, check_exit_code=True,
|
||||
extra_ok_codes=None):
|
||||
ns_params = []
|
||||
if self._parent.namespace:
|
||||
|
|
Loading…
Reference in New Issue