From 01e4be87663acfbed9ab2df332d4e814cab16c7d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 11 Jan 2014 21:40:01 +0000 Subject: [PATCH] PR 34 from Metallicow. Py3 and Phoenix updates for art. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx/lib/art/img2pyartprov.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wx/lib/art/img2pyartprov.py b/wx/lib/art/img2pyartprov.py index a03bf691..9bc8a34c 100644 --- a/wx/lib/art/img2pyartprov.py +++ b/wx/lib/art/img2pyartprov.py @@ -37,12 +37,12 @@ class Img2PyArtProvider(wx.ArtProvider): try: self.catalog.update(imageModule.catalog) except AttributeError: - raise Exception, 'No catalog dictionary defined for the image module' + raise Exception('No catalog dictionary defined for the image module') try: self.index.extend(imageModule.index) except AttributeError: - raise Exception, 'No index list defined for the image module' + raise Exception('No index list defined for the image module') def GenerateArtIdList(self): return [self.artIdPrefix+name for name in self.index]