mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-03-17 22:20:08 +01:00
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user