summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-11-13 15:12:14 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-11-14 11:58:10 +0100
commit8c581d12608cdd92a68581d0ad9b5e892a2f48de (patch)
tree06c570de3713120531a0088302d95a360d6889e1
parent072e65ed0eec227855a9274269df685e53b692bf (diff)
downloadpykolab-8c581d12608cdd92a68581d0ad9b5e892a2f48de.tar.gz
Allow specifying the domain to get the capabilities for
-rw-r--r--pykolab/wap_client/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/wap_client/__init__.py b/pykolab/wap_client/__init__.py
index 2199e9f..1bd2b16 100644
--- a/pykolab/wap_client/__init__.py
+++ b/pykolab/wap_client/__init__.py
@@ -516,8 +516,8 @@ def sharedfolder_delete(params=None):
def sharedfolders_list(params={}):
return request('POST', 'sharedfolders.list', post=json.dumps(params))
-def system_capabilities():
- return request('GET', 'system.capabilities')
+def system_capabilities(domain=None):
+ return request('GET', 'system.capabilities', get={'domain':domain})
def system_get_domain():
return request('GET', 'system.get_domain')