diff options
Diffstat (limited to 'libpathod/utils.py')
-rw-r--r-- | libpathod/utils.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libpathod/utils.py b/libpathod/utils.py index 46b252dd..0e3bda9d 100644 --- a/libpathod/utils.py +++ b/libpathod/utils.py @@ -67,14 +67,5 @@ class Data: raise ValueError, "dataPath: %s does not exist."%fullpath return fullpath - def read(self, path): - """ - Returns a path to the package data housed at 'path' under this - module.Path can be a path to a file, or to a directory. - - This function will raise ValueError if the path does not exist. - """ - p = self.path(path) - return open(p).read() data = Data(__name__) |