Commit 47ed0531 authored by PJ Eby's avatar PJ Eby

Fix typos found by Ryan Tomayko.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041061
parent 04a90393
......@@ -573,7 +573,7 @@ class NullProvider:
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 @@ class ZipProvider(DefaultProvider):
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)
......
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