Browse Source

Fixed a bug in the setup file

Patrick Falls 12 years ago
parent
commit
682608fe30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tornado/setup.py

+ 1 - 1
tornado/setup.py

@@ -10,7 +10,7 @@ cwd = "%s/FrameworkBenchmarks/tornado" % home
 
 
 def start(args):
 def start(args):
     setup_util.replace_text(
     setup_util.replace_text(
-        cwd + "/server.py", "127.0.0.1", args.database_host)
+        cwd + "/server.py", "localhost", args.database_host)
 
 
     subprocess.check_call("sudo pip install -r requirements.txt", cwd=cwd, shell=True)
     subprocess.check_call("sudo pip install -r requirements.txt", cwd=cwd, shell=True)
     subprocess.Popen("python %s/FrameworkBenchmarks/tornado/server.py --port=8080 --logging=error" % home, shell=True, cwd=cwd)
     subprocess.Popen("python %s/FrameworkBenchmarks/tornado/server.py --port=8080 --logging=error" % home, shell=True, cwd=cwd)