Commit f43e2282 authored by dpranke@chromium.org's avatar dpranke@chromium.org

2011-01-30 Dirk Pranke <dpranke@chromium.org>

        Unreviewed, build fix.

        Fix regression introduced in r77093 - path.rsplit() doesn't
        take keyword arguments.

        https://bugs.webkit.org/show_bug.cgi?id=53326

        * Scripts/webkitpy/common/system/filesystem_mock.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 537be6a3
2011-01-30 Dirk Pranke <dpranke@chromium.org>
Unreviewed, build fix.
Fix regression introduced in r77093 - path.rsplit() doesn't
take keyword arguments.
https://bugs.webkit.org/show_bug.cgi?id=53326
* Scripts/webkitpy/common/system/filesystem_mock.py:
2011-01-30 Dirk Pranke <dpranke@chromium.org>
Reviewed by Mihai Parparita.
......@@ -58,7 +58,7 @@ class MockFileSystem(object):
raise IOError(errno.ENOENT, path, os.strerror(errno.ENOENT))
def _split(self, path):
return path.rsplit(self.sep, max=1)
return path.rsplit(self.sep, 1)
def abspath(self, path):
if path.endswith(self.sep):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment