mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
Correct the propagation of the import error on Windows.
git-svn-id: http://svn.pyinstaller.org/trunk@602 8dd32b29-ccff-0310-8a9a-9233e24343b1
This commit is contained in:
@@ -152,7 +152,7 @@ if zipimport:
|
||||
try:
|
||||
self.__zip = zipimport.zipimporter(path)
|
||||
except zipimport.ZipImportError, e:
|
||||
raise OwnerError('%s: %s' % (e.message, path))
|
||||
raise OwnerError('%s: %s' % (str(e), path))
|
||||
Owner.__init__(self, path)
|
||||
|
||||
def getmod(self, nm, newmod=imp.new_module):
|
||||
|
||||
Reference in New Issue
Block a user