| Index: chrome/common/extensions/docs/server2/file_system.py
|
| diff --git a/chrome/common/extensions/docs/server2/file_system.py b/chrome/common/extensions/docs/server2/file_system.py
|
| index ab2248f504b41d5acd52d9b0878e51cd6563966c..72bb599117792d2be67da3e802ecb9d46b6f2abd 100644
|
| --- a/chrome/common/extensions/docs/server2/file_system.py
|
| +++ b/chrome/common/extensions/docs/server2/file_system.py
|
| @@ -16,7 +16,8 @@ class StatInfo(object):
|
| self.child_versions = child_versions
|
|
|
| def __eq__(self, other):
|
| - return (self.version == other.version and
|
| + return (isinstance(other, StatInfo) and
|
| + self.version == other.version and
|
| self.child_versions == other.child_versions)
|
|
|
| def __ne__(self, other):
|
| @@ -41,7 +42,6 @@ def ToUnicode(data):
|
| class FileSystem(object):
|
| '''A FileSystem interface that can read files and directories.
|
| '''
|
| -
|
| def Read(self, paths, binary=False):
|
| '''Reads each file in paths and returns a dictionary mapping the path to the
|
| contents. If a path in paths ends with a '/', it is assumed to be a
|
|
|