summaryrefslogtreecommitdiffstats
path: root/ipaserver
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver')
-rw-r--r--ipaserver/plugins/schema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/plugins/schema.py b/ipaserver/plugins/schema.py
index c3a0e60ba..96a822491 100644
--- a/ipaserver/plugins/schema.py
+++ b/ipaserver/plugins/schema.py
@@ -266,8 +266,8 @@ class command_defaults(PKQuery):
def execute(self, name, **options):
command = self.api.Command[name]
- params = options.get('params', [])
- kw = options.get('kw', {})
+ params = options.get('params') or []
+ kw = options.get('kw') or {}
result = command.get_default(params, **kw)