#######################################################################################
""" Photo metadata read / write module
-$Id: metadata.py 1272 2009-08-11 08:57:35Z pin $
-$URL: http://svn.luxia.fr/svn/labo/projects/zope/Photo/trunk/metadata.py $
+
+
"""
from AccessControl import ClassSecurityInfo
"""returns xmp metadata packet with xmpdump call
"""
if self.size :
- blob_file_path = self.bdata._current_filename()
+ blob_file_path = self.bdata._p_blob_uncommitted or self.bdata._p_blob_committed
dumpcmd = '%s %s' % (XMPDUMP, blob_file_path)
p = Popen(dumpcmd, stdout=PIPE, stderr=PIPE, stdin=PIPE, shell=True)
xmp, err = p.communicate()