summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-06-12 13:32:39 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-06-12 13:32:39 +0200
commita8701c8e873f689ec65b3cfd996f83c48fb39742 (patch)
tree1ef5b6f314775854451fc3725816bc7caaa2e9ea
parent94d58ba529201de81f956fa8e868a9438bdd18c8 (diff)
downloadpykolab-a8701c8e873f689ec65b3cfd996f83c48fb39742.tar.gz
fix indentation from my previous commit
-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)