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-04 13:25:17 +0100
commit4c572065c63e3bb830070ab71583e349cc109455 (patch)
treef49abc6fee1950c59b4b35be7c9a2f0f152be8b7
parent8fcd6441ed755f5ae81a6d9e5b6ec6ef3fab8393 (diff)
downloadpykolab-4c572065c63e3bb830070ab71583e349cc109455.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: