Commit c1c501de authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: Switch to python3

parent 0c7ec819
......@@ -22,6 +22,9 @@ parts +=
caddyprofiledeps
kedifa
[python]
part = python3
[kedifa]
recipe = zc.recipe.egg
eggs =
......
......@@ -56,6 +56,7 @@ import string
from slapos.slap.standalone import SlapOSNodeInstanceError
import caucase.client
import caucase.utils
from __future__ import print_function
try:
......@@ -7132,5 +7133,5 @@ if __name__ == '__main__':
url_template = 'http://%s:%s/'
server = klass((ip, port), TestHandler)
print url_template % server.server_address[:2]
print(url_template % (server.server_address[:2],))
server.serve_forever()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment