Remove set_has_data calls
svn: r17931
This commit is contained in:
parent
d4492760a6
commit
9a1b8ec128
@ -172,8 +172,7 @@ class MetadataView(gtk.TreeView):
|
|||||||
try:
|
try:
|
||||||
metadata = pyexiv2.Image(full_path)
|
metadata = pyexiv2.Image(full_path)
|
||||||
except IOError:
|
except IOError:
|
||||||
self.set_has_data(False)
|
return False
|
||||||
return
|
|
||||||
metadata.readMetadata()
|
metadata.readMetadata()
|
||||||
for section, key, key2, func in TAGS:
|
for section, key, key2, func in TAGS:
|
||||||
if key not in metadata.exifKeys():
|
if key not in metadata.exifKeys():
|
||||||
@ -201,8 +200,7 @@ class MetadataView(gtk.TreeView):
|
|||||||
try:
|
try:
|
||||||
metadata.read()
|
metadata.read()
|
||||||
except IOError:
|
except IOError:
|
||||||
self.set_has_data(False)
|
return False
|
||||||
return
|
|
||||||
for section, key, key2, func in TAGS:
|
for section, key, key2, func in TAGS:
|
||||||
if key not in metadata.exif_keys:
|
if key not in metadata.exif_keys:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user