[Python-checkins] commit of r41616 - sandbox/trunk/setuptools/pkg_resources.py

phillip.eby python-checkins at python.org
Tue Dec 6 04:11:26 CET 2005


Author: phillip.eby
Date: Tue Dec 6 04:11:22 2005
New Revision: 41616
Modified:
 sandbox/trunk/setuptools/pkg_resources.py
Log:
Remove unneeded code that slipped into last commit.
Modified: sandbox/trunk/setuptools/pkg_resources.py
==============================================================================
--- sandbox/trunk/setuptools/pkg_resources.py	(original)
+++ sandbox/trunk/setuptools/pkg_resources.py	Tue Dec 6 04:11:22 2005
@@ -1373,7 +1373,6 @@
 lower = entry.lower()
 if lower.endswith('.egg-info'):
 fullpath = os.path.join(path_item, entry)
- metadata = None
 if os.path.isdir(fullpath): 
 # egg-info directory, allow getting metadata
 metadata = PathMetadata(path_item, fullpath)
@@ -1392,6 +1391,7 @@
 
 register_finder(ImpWrapper,find_on_path)
 
+
 _namespace_handlers = {}
 _namespace_packages = {}
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /