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
This commit is contained in:
Robin Dunn
2014-01-11 21:40:01 +00:00
parent fcfbb55c46
commit 01e4be8766

View File

@@ -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]