From 04fc08e0ee2d4dea128da82b6d58e2440883fc2e Mon Sep 17 00:00:00 2001 From: giovannibajo Date: Wed, 18 Feb 2009 19:22:40 +0000 Subject: [PATCH] Correct the propagation of the import error on Windows. git-svn-id: http://svn.pyinstaller.org/trunk@602 8dd32b29-ccff-0310-8a9a-9233e24343b1 --- iu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iu.py b/iu.py index 3f53038..d492726 100644 --- a/iu.py +++ b/iu.py @@ -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):