From 4505a8faf6e76b9b1ff957feee7d92944c8363fe Mon Sep 17 00:00:00 2001 From: Shuai Lin Date: Sat, 7 Jan 2017 12:23:08 +0800 Subject: [PATCH] Fixed setup script. --- scripts/setup-seafile-mysql.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/setup-seafile-mysql.py b/scripts/setup-seafile-mysql.py index 80b95ea..e5447cf 100644 --- a/scripts/setup-seafile-mysql.py +++ b/scripts/setup-seafile-mysql.py @@ -107,6 +107,10 @@ Press ENTER to continue shell=True) return proc.wait() + @staticmethod + def get_command_output(args, *a, **kw): + return subprocess.check_output(args, *a, **kw) + @staticmethod def prepend_env_value(name, value, env=None, seperator=':'): '''prepend a new value to a list'''