From fcfd384aa247baf19cfbe8c3c8c0cecfbb056b3a Mon Sep 17 00:00:00 2001 From: stevenknight Date: Tue, 23 Sep 2008 05:39:57 +0000 Subject: [PATCH] 1.5 compatiblity: string method in Node/FSTests.py. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3458 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Node/FSTests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/SCons/Node/FSTests.py b/src/engine/SCons/Node/FSTests.py index 5fa936fb..8854ff9d 100644 --- a/src/engine/SCons/Node/FSTests.py +++ b/src/engine/SCons/Node/FSTests.py @@ -1708,7 +1708,7 @@ class DirTestCase(_tempdirTestCase): e = self.fs.Dir(os.path.join('d', 'empty')) s = self.fs.Dir(os.path.join('d', 'sub')) - files = d.get_contents().split('\n') + files = string.split(d.get_contents(), '\n') assert e.get_contents() == '', e.get_contents() assert e.get_csig()+" empty" == files[0], files -- 2.26.2