From d3b0961b90ac8ae825486b576d17a18e0e9c8530 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 13 Jul 2011 12:43:34 +0530 Subject: [PATCH] Solved syntax error in line 361 near replace function --- cgi-bin/webnotes/model/db_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi-bin/webnotes/model/db_schema.py b/cgi-bin/webnotes/model/db_schema.py index 8a0a7bb2cf..0ab2de0b78 100644 --- a/cgi-bin/webnotes/model/db_schema.py +++ b/cgi-bin/webnotes/model/db_schema.py @@ -358,7 +358,7 @@ class DbManager: mysql = mysql_path and os.path.join(mysql_path, 'mysql') or 'mysql' try: - ret = os.system("%s -u root -p%s %s < %s"%(mysql, root_password.replace(" ", "\ ")), target, source) + ret = os.system("%s -u root -p%s %s < %s"%(mysql, root_password.replace(" ", "\ "), target, source)) except Exception,e: raise e