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.
This commit is contained in:
parent
7108f25590
commit
119e337f4b
1 changed files with 1 additions and 1 deletions
2
acprep
2
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue