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:58 +0200
commit03881f27a5917378add8b0c4b98a91e38c7e2529 (patch)
treea8138ffa38d125df5d11771d7268a7e3581f785c
parentc23db1e5bb446c2737098dde7821a846839b6f25 (diff)
downloadpykolab-03881f27a5917378add8b0c4b98a91e38c7e2529.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')