[Python-checkins] python/nondist/sandbox/setuptools pkg_resources.py, 1.31, 1.32
pje@users.sourceforge.net
pje at users.sourceforge.net
Tue Jun 14 14:44:46 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/setuptools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7644
Modified Files:
pkg_resources.py
Log Message:
Fix typos found by Ryan Tomayko.
Index: pkg_resources.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/pkg_resources.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- pkg_resources.py 14 Jun 2005 01:28:44 -0000 1.31
+++ pkg_resources.py 14 Jun 2005 12:44:43 -0000 1.32
@@ -573,7 +573,7 @@
def resource_listdir(self,resource_name):
- return self._listdir(self._fn(self.egg_info,resource_name))
+ return self._listdir(self._fn(self.module_path,resource_name))
def metadata_listdir(self,name):
if self.egg_info:
@@ -738,7 +738,7 @@
def _extract_resource(self, manager, resource_name):
if self.resource_isdir(resource_name):
- return self._extract_dir(resource_name)
+ return self._extract_directory(resource_name)
parts = resource_name.split('/')
zip_path = os.path.join(self.module_path, *parts)
More information about the Python-checkins
mailing list