projects
/
Photo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a45d52
)
_current_filename n'existe plus avec zope-2.12. On remlace par son implémentation.
author
Benoît Pin
<benoit.pin@gmail.com>
Sun, 21 Nov 2010 10:55:28 +0000
(11:55 +0100)
committer
Benoît Pin
<benoit.pin@gmail.com>
Sun, 21 Nov 2010 10:55:28 +0000
(11:55 +0100)
metadata.py
patch
|
blob
|
history
diff --git
a/metadata.py
b/metadata.py
index
156df58
..
310392b
100755
(executable)
--- a/
metadata.py
+++ b/
metadata.py
@@
-71,7
+71,7
@@
class Metadata :
"""returns xmp metadata packet with xmpdump call
"""
if self.size :
"""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()
dumpcmd = '%s %s' % (XMPDUMP, blob_file_path)
p = Popen(dumpcmd, stdout=PIPE, stderr=PIPE, stdin=PIPE, shell=True)
xmp, err = p.communicate()