Merge pull request #2786 from dirkcuys/patch-1

Fix bug causing mysqldump to fail
This commit is contained in:
Michael DeHaan 2013-04-26 12:36:02 -07:00
commit eb6aac2303

View file

@ -109,7 +109,7 @@ def db_delete(cursor, db):
return True
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+" > "
+target)
return (res == 0)