* src/ChooseParents.py: build an exclusion list of those
obviously not the parents * src/EditPerson.py: allow ID value to be edited * src/RelLib.py: Add try_to_find_from_gramps_id * src/ImageSelect.py: catch OSError svn: r3253
This commit is contained in:
@ -492,7 +492,7 @@ class Gallery(ImageSelect):
|
||||
u = urllib.URLopener()
|
||||
try:
|
||||
tfile,headers = u.retrieve(d)
|
||||
except IOError, msg:
|
||||
except (IOError,OSError), msg:
|
||||
t = _("Could not import %s") % d
|
||||
ErrorDialog(t,str(msg))
|
||||
return
|
||||
@ -1233,3 +1233,4 @@ class DeleteMediaQuery:
|
||||
self.db.add_transaction(trans,_("Remove Media Object"))
|
||||
if self.update:
|
||||
self.update()
|
||||
|
||||
|
Reference in New Issue
Block a user