Replace get_family_handles with iter_family_handles

svn: r12776
This commit is contained in:
Gerald Britton
2009-07-08 16:11:20 +00:00
parent f680992d04
commit b601f4bdf2
21 changed files with 53 additions and 29 deletions

View File

@@ -221,6 +221,13 @@ class ReferencedProxyDb(ProxyDbBase):
"""
return self.db.get_family_handles()
def iter_family_handles(self):
"""
Return an iterator over database handles, one handle for each Family in
the database..
"""
return self.db.iter_family_handles()
def get_repository_handles(self):
"""
Return a list of database handles, one handle for each Repository still
@@ -254,7 +261,7 @@ class ReferencedProxyDb(ProxyDbBase):
"""
returns True if the handle exists in the current Person database.
"""
return handle in self.get_person_handles()
return handle in self.iter_person_handles()
def has_event_handle(self, handle):
"""
@@ -278,7 +285,7 @@ class ReferencedProxyDb(ProxyDbBase):
"""
returns True if the handle exists in the current Family database.
"""
return handle in self.get_family_handles()
return handle in self.iter_family_handles()
def has_object_handle(self, handle):
"""