From 2a65962fd27e31b65319093b8b4373cc72433431 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Pin?= Date: Sun, 21 Nov 2010 11:55:28 +0100 Subject: [PATCH] =?utf8?q?=5Fcurrent=5Ffilename=20n'existe=20plus=20avec?= =?utf8?q?=20zope-2.12.=20On=20remlace=20par=20son=20impl=C3=A9mentation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.py b/metadata.py index 156df58..310392b 100755 --- a/metadata.py +++ b/metadata.py @@ -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() -- 2.20.1