projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0832bfd
)
Oubli : il faut appeler le constructeur du DublinCore !
author
Benoît Pin
<benoit.pin@gmail.com>
Tue, 26 Oct 2010 22:34:12 +0000
(
00:34
+0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Tue, 26 Oct 2010 22:34:12 +0000
(
00:34
+0200)
photo.py
patch
|
blob
|
history
diff --git
a/photo.py
b/photo.py
index
a90ef42
..
e66f8eb
100755
(executable)
--- a/
photo.py
+++ b/
photo.py
@@
-50,6
+50,7
@@
class Photo(DynamicType, CMFCatalogAware, BasePhoto, DefaultDublinCoreImpl) :
security.declareProtected(ViewRawImage, 'getJpegImage')
def __init__(self, id, title='', file='', content_type='', precondition='', **kw) :
security.declareProtected(ViewRawImage, 'getJpegImage')
def __init__(self, id, title='', file='', content_type='', precondition='', **kw) :
+ DefaultDublinCoreImpl.__init__(self, title=title)
BasePhoto.__init__(self, id, title, file, content_type=content_type, precondition=precondition, **kw)
self.id = id
self.title = title
BasePhoto.__init__(self, id, title, file, content_type=content_type, precondition=precondition, **kw)
self.id = id
self.title = title