Closed Andrej1A closed 5 years ago
Hi Andre. The second syntax you refer is the Python3 one. The first syntax is for Python before 3. It looks like this package has no support for Python3.
Hi Daniel, Thank you. I've just later seen that this tool is not up to date and the last commit is 4 years old.
yea sorry folks, i just don't have time to maintain this project :(
I've followed the installation process and everything was prepared right on the target system with a clean Debian 9 machine. I've started the script out of my Mac OS X with Python 3.7.1 from my virtualenv. After the
fab bootstrap_ansible
went through I've started the commandpython manage.py deploy
and got the following error message:I'm just a beginner with python, but after some research how to print a string with parameter it looks like the line:
print "number of hosts: %s" % str(len(inventory.list_hosts()))
should be look like the following line:
print("number of hosts: %(s)" % str(len(inventory.list_hosts())))