summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-06-05 12:40:27 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-06-05 12:40:27 +0200
commit721ed5bb6a54b0aa817fcab9cae78a13e2d9f3f4 (patch)
treeb91c834b72c229a31dd74b65751e543184576f9f
parentdc65e08a6acfdf239b8089153e2025d1c80a50ad (diff)
downloadpykolab-721ed5bb6a54b0aa817fcab9cae78a13e2d9f3f4.tar.gz
Quote the password entered to the temporary defaults file (#825)
-rw-r--r--pykolab/setup/setup_mysql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pykolab/setup/setup_mysql.py b/pykolab/setup/setup_mysql.py
index ac63add..093d187 100644
--- a/pykolab/setup/setup_mysql.py
+++ b/pykolab/setup/setup_mysql.py
@@ -80,7 +80,7 @@ def execute(*args, **kw):
data = """
[mysql]
user=root
-password=%s
+password='%s'
""" % (mysql_root_password)
fp = open('/tmp/kolab-setup-my.cnf', 'w')