From: <th...@us...> - 2014-10-16 17:50:19
|
Revision: 761 http://sourceforge.net/p/py2exe/svn/761 Author: theller Date: 2014-10-16 17:50:16 +0000 (Thu, 16 Oct 2014) Log Message: ----------- Only catch ImportError; this avoids hiding other exceptions. Modified Paths: -------------- trunk/py2exe-3/zipextimporter.py Modified: trunk/py2exe-3/zipextimporter.py =================================================================== --- trunk/py2exe-3/zipextimporter.py 2014-10-16 17:46:15 UTC (rev 760) +++ trunk/py2exe-3/zipextimporter.py 2014-10-16 17:50:16 UTC (rev 761) @@ -84,7 +84,7 @@ return mod try: return zipimport.zipimporter.load_module(self, fullname) - except Exception: + except ImportError: pass if sys.version_info >= (3, 0): # name of initfunction This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |