mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:32:13 +02:00
Fix print() and xrange() for Python 3 (#5590)
This commit is contained in:
@@ -14,7 +14,7 @@ def serve_forever(port=0):
|
||||
|
||||
"""
|
||||
server = HTTPServer(('', port), SimpleHTTPRequestHandler)
|
||||
print 'Serving HTTP on {0} port {1} ...'.format(*server.server_address)
|
||||
print('Serving HTTP on {0} port {1} ...'.format(*server.server_address))
|
||||
sys.stdout.flush()
|
||||
server.serve_forever()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user