From: Kevin Benton Date: Sun, 14 Sep 2014 08:53:52 +0000 (-0700) Subject: Remove default dictionary from function def X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=bc61dd0e3493b0e5c5b2e0e1e9d16b65532c6c4a;p=openstack-build%2Fneutron-build.git 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 --- diff --git a/neutron/agent/linux/ip_lib.py b/neutron/agent/linux/ip_lib.py index 1d32a5497..a06178052 100644 --- a/neutron/agent/linux/ip_lib.py +++ b/neutron/agent/linux/ip_lib.py @@ -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: