mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
batch 2 - update Python idiom to 3.7 using pyupgrade (#11342)
* batch 2 - update Python idiom to 3.7 using pyupgrade * Apply suggestions from code review
This commit is contained in:
@@ -32,7 +32,7 @@ class EchoServer(BaseHTTPRequestHandler):
|
||||
|
||||
def run_webserver():
|
||||
webServer = HTTPServer((hostname, server_port), EchoServer)
|
||||
print("Server started http://%s:%s" % (hostname, server_port))
|
||||
print(f"Server started http://{hostname}:{server_port}")
|
||||
|
||||
try:
|
||||
webServer.serve_forever()
|
||||
|
||||
Reference in New Issue
Block a user