Browse Source

Nawak: Fix database hostname substitution for the redis tests

Erwan Ameil 11 years ago
parent
commit
bcac7294fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nawak/setup_redis.py

+ 1 - 1
nawak/setup_redis.py

@@ -8,7 +8,7 @@ home = expanduser("~")
 
 
 def start(args, logfile, errfile):
 def start(args, logfile, errfile):
   setup_util.replace_text("nawak/model_redis.nim",
   setup_util.replace_text("nawak/model_redis.nim",
-                          'open(host=.*)',
+                          'open\(host=.*\)',
                           'open(host="' + args.database_host + '")')
                           'open(host="' + args.database_host + '")')
   # compile the app
   # compile the app
   subprocess.check_call(
   subprocess.check_call(