[Python-checkins] r66388 - sandbox/trunk/setuptools/setuptools/command/bdist_egg.py
phillip.eby
python-checkins at python.org
Thu Sep 11 17:43:27 CEST 2008
Author: phillip.eby
Date: Thu Sep 11 17:43:26 2008
New Revision: 66388
Log:
Fix for http://bugs.python.org/setuptools/issue37 - missing
__loader__ running under Google App Engine.
Modified:
sandbox/trunk/setuptools/setuptools/command/bdist_egg.py
Modified: sandbox/trunk/setuptools/setuptools/command/bdist_egg.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/bdist_egg.py (original)
+++ sandbox/trunk/setuptools/setuptools/command/bdist_egg.py Thu Sep 11 17:43:26 2008
@@ -29,7 +29,7 @@
" import sys, pkg_resources, imp",
" __file__ = pkg_resources.resource_filename(__name__,%r)"
% resource,
- " del __bootstrap__, __loader__",
+ " __loader__ = None; del __bootstrap__, __loader__",
" imp.load_dynamic(__name__,__file__)",
"__bootstrap__()",
"" # terminal \n
More information about the Python-checkins
mailing list