Commit 12212223 by Dirk Uys

Fix bug causing mysqldump to fail

parent c9277ef4
...@@ -109,7 +109,7 @@ def db_delete(cursor, db): ...@@ -109,7 +109,7 @@ def db_delete(cursor, db):
return True return True
def db_dump(host, user, password, db_name, target): def db_dump(host, user, password, db_name, target):
res = os.system("/usr/bin/mysqldump -q -h "+host+"-u "+user+ " --password="+password+" " res = os.system("/usr/bin/mysqldump -q -h "+host+" -u "+user+ " --password="+password+" "
+db_name+" > " +db_name+" > "
+target) +target)
return (res == 0) return (res == 0)
......
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