Fix bug causing mysqldump to fail

reviewable/pr18780/r1
Dirk Uys 12 years ago
parent 62a10d69a1
commit e319375bde

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

Loading…
Cancel
Save