Solved syntax error in line 361 near replace function

This commit is contained in:
Anand Doshi 2011-07-13 12:43:34 +05:30
parent b800592015
commit 71b4b9dae8

View file

@ -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