Skip to content
Snippets Groups Projects
Unverified Commit b9790e03 authored by Thomas Woerner's avatar Thomas Woerner Committed by GitHub
Browse files

Merge pull request #162 from rjeffman/allow_apicommand_with_no_parameters

Allow execution of API commands that do not require parameters.
parents 501ca512 0210899e
Branches
Tags
No related merge requests found
......@@ -151,6 +151,13 @@ def api_command(module, command, name, args):
return api.Command[command](name, **args)
def api_command_no_name(module, command, args):
"""
Call ipa.Command without a name.
"""
return api.Command[command](**args)
def api_check_param(command, name):
"""
Return if param exists in command param list
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment