summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/cloud/webfaction/webfaction_domain.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/cloud/webfaction/webfaction_domain.py')
-rw-r--r--lib/ansible/modules/cloud/webfaction/webfaction_domain.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/ansible/modules/cloud/webfaction/webfaction_domain.py b/lib/ansible/modules/cloud/webfaction/webfaction_domain.py
index 3bea294337..cb6d8f317c 100644
--- a/lib/ansible/modules/cloud/webfaction/webfaction_domain.py
+++ b/lib/ansible/modules/cloud/webfaction/webfaction_domain.py
@@ -1,8 +1,9 @@
#!/usr/bin/python
-#
-# (c) Quentin Stafford-Fraser 2015
+# -*- coding: utf-8 -*-
+
+# Copyright: (c) 2015, Quentin Stafford-Fraser
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-#
+
# Create Webfaction domains and subdomains using Ansible and the Webfaction API
from __future__ import absolute_import, division, print_function
@@ -155,7 +156,7 @@ def main():
)
else:
- module.fail_json(msg="Unknown state specified: {}".format(domain_state))
+ module.fail_json(msg="Unknown state specified: {0}".format(domain_state))
module.exit_json(
changed=True,