From: stevenknight Date: Tue, 23 Sep 2008 05:39:57 +0000 (+0000) Subject: 1.5 compatiblity: string method in Node/FSTests.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fcfd384aa247baf19cfbe8c3c8c0cecfbb056b3a;p=scons.git 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 --- 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