diff --git a/compose/wait-for-mysql b/compose/wait-for-mysql index 900cb49e9..2bf091419 100644 --- a/compose/wait-for-mysql +++ b/compose/wait-for-mysql @@ -19,7 +19,7 @@ try: db=MySQLdb.connect(host=db_host,user=db_user, passwd=db_password,db=db_name) -except MySQLdb._exceptions.OperationalError as e: +except MySQLdb._exceptions.OperationalError: sys.exit(-1) sys.exit(0)