diff options
author | Travis Snoozy <travis.snoozy@remstate.com> | 2013-05-23 09:25:10 -0600 |
---|---|---|
committer | Travis Snoozy <travis.snoozy@remstate.com> | 2013-05-23 09:25:10 -0600 |
commit | 119e337f4bf74df72f7cf1af580353522634a738 (patch) | |
tree | 0659f332aea3dbfa579580eda3d36bb1bd5c405d /acprep | |
parent | 7108f25590adc18adc70d0ba77f0d3931796ea04 (diff) | |
download | fork-ledger-119e337f4bf74df72f7cf1af580353522634a738.tar.gz fork-ledger-119e337f4bf74df72f7cf1af580353522634a738.tar.bz2 fork-ledger-119e337f4bf74df72f7cf1af580353522634a738.zip |
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.
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |