From 119e337f4bf74df72f7cf1af580353522634a738 Mon Sep 17 00:00:00 2001 From: Travis Snoozy Date: Thu, 23 May 2013 09:25:10 -0600 Subject: Make acprep use "str.split" not "string.split" Python is displeased with acprep if a *FLAGS environment variable is set. This patch converts the problematic "string.split" statement to instead be "str.split", which appears to fix the problem. --- acprep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'acprep') diff --git a/acprep b/acprep index be81790e..f5b699b0 100755 --- a/acprep +++ b/acprep @@ -248,7 +248,7 @@ class PrepareBuild(CommandLineApp): self.envvars[varname] = os.environ[varname] if varname.endswith('FLAGS'): - self.__dict__[varname] = string.split(os.environ[varname]) + self.__dict__[varname] = str.split(os.environ[varname]) self.envvars[varname] = '' # If ~/Products/ or build/ exists, use them instead of the source tree -- cgit v1.2.3