summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/cli/cmd_delete_domain.py8
-rw-r--r--pykolab/wap_client/__init__.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/pykolab/cli/cmd_delete_domain.py b/pykolab/cli/cmd_delete_domain.py
index 5204923..94418c1 100644
--- a/pykolab/cli/cmd_delete_domain.py
+++ b/pykolab/cli/cmd_delete_domain.py
@@ -67,8 +67,8 @@ def execute(*args, **kw):
domain = utils.ask_question(_("Domain name"))
if wap_client.domain_delete(domain, conf.force):
- print("Domain %s has been marked as deleted." % domain)
- print("Please run this command to actually delete the domain: ")
- print(" php /usr/share/kolab-webadmin/bin/domain_delete.php")
+ print("Domain %s has been marked as deleted." % domain)
+ print("Please run this command to actually delete the domain: ")
+ print(" php /usr/share/kolab-webadmin/bin/domain_delete.php")
else:
- print("Domain %s has not been deleted." % domain)
+ print("Domain %s has not been deleted." % domain)
diff --git a/pykolab/wap_client/__init__.py b/pykolab/wap_client/__init__.py
index f625bd6..900e280 100644
--- a/pykolab/wap_client/__init__.py
+++ b/pykolab/wap_client/__init__.py
@@ -130,7 +130,7 @@ def domain_delete(domain, force=False):
param['id'] = domain_id
if force:
- param['force'] = force
+ param['force'] = force
post = json.dumps(param)
return request('POST', 'domain.delete', post=post)