1.5 compatiblity: string method in Node/FSTests.py.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 23 Sep 2008 05:39:57 +0000 (05:39 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 23 Sep 2008 05:39:57 +0000 (05:39 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3458 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Node/FSTests.py

index 5fa936fbdc66a33ed2d864d1242fa28b84540bfa..8854ff9d49af8d56da19dd20266494d0c64be0fc 100644 (file)
@@ -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