Commit 126b7f7d authored by Chris Dent's avatar Chris Dent Committed by Stephen Finucane

Remove my_ip from generated wsgi script

The variable is not used by the generated script and the
socket calls will block in some contexts.

Change-Id: Id5f9c14e2bdda434883c24bb05359c0c36a1b569
parent 7b3e4773
......@@ -312,8 +312,6 @@ if __name__ == "__main__":
import sys
import wsgiref.simple_server as wss
my_ip = socket.gethostbyname(socket.gethostname())
parser = argparse.ArgumentParser(
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