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:
giovannibajo
2009-02-18 19:22:40 +00:00
parent a6cf5887f7
commit 04fc08e0ee
+1 -1
View File
@@ -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):