projects
/
Photo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2ad7c64
)
Bugfix avec zope-2.12.
author
Benoît Pin
<benoit.pin@gmail.com>
Tue, 26 Oct 2010 22:33:04 +0000
(
00:33
+0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Tue, 26 Oct 2010 22:33:04 +0000
(
00:33
+0200)
metadata.py
patch
|
blob
|
history
diff --git
a/metadata.py
b/metadata.py
index
96a44aa
..
0b11842
100755
(executable)
--- a/
metadata.py
+++ b/
metadata.py
@@
-24,6
+24,7
@@
$URL: http://svn.luxia.fr/svn/labo/projects/zope/Photo/trunk/metadata.py $
"""
from AccessControl import ClassSecurityInfo
+from Acquisition import aq_base
from Globals import InitializeClass
from AccessControl.Permissions import view
from ZODB.interfaces import BlobError
@@
-168,7
+169,7
@@
class Metadata :
root = info['root']
rdfType = info['rdfType'].capitalize()
methName = 'getXmp%s' % rdfType
- meth = getattr(
self.aq_base
, methName)
+ meth = getattr(
aq_base(self)
, methName)
return meth(name, root)