X-Git-Url: https://scm.cri.mines-paristech.fr/git/Photo.git/blobdiff_plain/c479cee771cef451dee687d014ee5a1acb49ab44..9a4d283ec944b96bc170dc43a6b22a74a248f53d:/metadata.py diff --git a/metadata.py b/metadata.py index c5e9ec4..310392b 100755 --- a/metadata.py +++ b/metadata.py @@ -19,8 +19,8 @@ ####################################################################################### """ 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 @@ -71,7 +71,7 @@ class Metadata : """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()