read and return a bytestring from reading the path.
def read(self, mode='rb'):
origin: FSPathBase
where:
function source:
def read(self, mode='rb'):
""" read and return a bytestring from reading the path. """
if py.std.sys.version_info < (2,3):
for x in 'u', 'U':
if x in mode:
mode = mode.replace(x, '')
f = self.open(mode)
try:
return f.read()
finally:
f.close()
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
called in /home/johnny/projects/merlinux/py/dist/py/path/testing/common.py
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/testing/test_wccommand.py
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
called in /home/johnny/projects/merlinux/py/dist/py/path/testing/fscommon.py
called in /home/johnny/projects/merlinux/py/dist/py/rest/testing/test_directive.py
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
called in /home/johnny/projects/merlinux/py/dist/py/path/common.py
called in /home/johnny/projects/merlinux/py/dist/py/path/svn/testing/test_wccommand.py
called in /home/johnny/projects/merlinux/py/dist/py/path/testing/fscommon.py
called in /home/johnny/projects/merlinux/py/dist/py/path/testing/fscommon.py
called in /home/johnny/projects/merlinux/py/dist/py/path/testing/fscommon.py