#2909: Make python activities more tolerant to missing metadata properties.
This commit is contained in:
parent
d19472930d
commit
b3ad232b0c
1
NEWS
1
NEWS
@ -1,3 +1,4 @@
|
||||
* #2909: Make python activities more tolerant to missing metadata properties. (tomeu)
|
||||
* #2653: Add audio/wav and audio/x-wav as Audio objects. (tomeu)
|
||||
* Support moving of data files written to the datastore using standard Activity
|
||||
write_file() API (dcbw)
|
||||
|
@ -284,6 +284,9 @@ class Activity(Window, gtk.Container):
|
||||
#del self._jobject.metadata['ctime']
|
||||
del self._jobject.metadata['mtime']
|
||||
|
||||
if not self._jobject.metadata.has_key('title'):
|
||||
self._jobject.metadata['title'] = ''
|
||||
|
||||
try:
|
||||
share_scope = self._jobject.metadata['share-scope']
|
||||
title = self._jobject.metadata['title']
|
||||
|
Loading…
Reference in New Issue
Block a user