From 26c8437e884f310ea80ed31209d3c926ced400e5 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 7 Jun 2012 14:05:42 +1200 Subject: Better test daemon cleanup, improve utils test coverage. --- libpathod/utils.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libpathod/utils.py') 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__) -- cgit v1.2.3