summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2019-10-31 17:43:04 +0000
committerKevin Fenzi <kevin@scrye.com>2019-10-31 17:43:04 +0000
commita19b1d77c763df43eaab5bd1d28a6237d00bc836 (patch)
treedb5307ce49321d8555c6504814b5fdf07b92326f
parent6037f0ed2a020116e289c5efda0068b20f78441f (diff)
downloadansible-a19b1d77c763df43eaab5bd1d28a6237d00bc836.zip
ansible-a19b1d77c763df43eaab5bd1d28a6237d00bc836.tar.gz
ansible-a19b1d77c763df43eaab5bd1d28a6237d00bc836.tar.xz
virt_boot: some easy python3 fixes.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
-rwxr-xr-xlibrary/virt_boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/virt_boot b/library/virt_boot
index eaadd8c..b17db48 100755
--- a/library/virt_boot
+++ b/library/virt_boot
@@ -100,12 +100,12 @@ except ImportError:
import elementtree.ElementTree as ET
from elementtree.ElementTree import SubElement
except ImportError:
- print "failed=True msg='ElementTree python module unavailable'"
+ print("failed=True msg='ElementTree python module unavailable'")
try:
import libvirt
except ImportError:
- print "failed=True msg='libvirt python module unavailable'"
+ print("failed=True msg='libvirt python module unavailable'")
sys.exit(1)
from ansible.module_utils.basic import AnsibleModule