summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorTravis Snoozy <travis.snoozy@remstate.com>2013-05-23 09:25:10 -0600
committerTravis Snoozy <travis.snoozy@remstate.com>2013-05-23 09:25:10 -0600
commit119e337f4bf74df72f7cf1af580353522634a738 (patch)
tree0659f332aea3dbfa579580eda3d36bb1bd5c405d /acprep
parent7108f25590adc18adc70d0ba77f0d3931796ea04 (diff)
downloadfork-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-xacprep2
1 files changed, 1 insertions, 1 deletions
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