summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-03-04 13:25:17 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-03-05 15:20:47 +0100
commit488b5b2055b1b545e8e845d3bf805315c8caed10 (patch)
tree907057e41903159106c0933c43d19a5bf58dea5b
parent41b09cd702e6d9996dd05fed8c0b04b29eeb4dac (diff)
downloadpykolab-488b5b2055b1b545e8e845d3bf805315c8caed10.tar.gz
The appending of a comment after a line-continuation character is not
legal syntax
-rw-r--r--pykolab/setup/setup_mysql.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pykolab/setup/setup_mysql.py b/pykolab/setup/setup_mysql.py
index 36a0bec..586e134 100644
--- a/pykolab/setup/setup_mysql.py
+++ b/pykolab/setup/setup_mysql.py
@@ -64,10 +64,10 @@ def execute(*args, **kw):
}
answer = 0
- if os.path.exists('/var/lib/mysql/mysql.sock') or \ # Regular old-fashioned Enterprise Linux
- os.path.exists('/var/run/mysqld/mysqld.sock') or \ # Debian
- os.path.exists('/var/run/mysql/mysql.sock') or \ # (open)SUSE
- os.path.exists('/var/run/mysqld/mysqld.pid'): # "Unbreakable" Linux from Oracle
+ if os.path.exists('/var/lib/mysql/mysql.sock') or \
+ os.path.exists('/var/run/mysqld/mysqld.sock') or \
+ os.path.exists('/var/run/mysql/mysql.sock') or \
+ os.path.exists('/var/run/mysqld/mysqld.pid'):
answer = utils.ask_menu(_("What MySQL server are we setting up?"), options)
if answer == "1" or answer == 1: