1. Implement iter_<object> methods in proxybase.

2. Change include_object to include_media_object to avoid confusion
3. Make _validated_id_prefix method in read.py a staticmethod
4. Use new iter_<objects> methods in Records.py, StatsgGramplet.py, GivenNameGramplet.py, ExtractCity.py and _IsSiblingOfFilterMatch.py as examples

svn: r13151
This commit is contained in:
Gerald Britton
2009-09-02 20:10:45 +00:00
parent c22e47eba1
commit 3564b04584
10 changed files with 112 additions and 73 deletions

View File

@ -250,7 +250,7 @@ class PrivateProxyDb(ProxyDbBase):
obj = self.get_unfiltered_place(handle)
return obj and not obj.get_privacy()
def include_object(self, handle):
def include_media_object(self, handle):
"""
Predicate returning True if object is to be included, else False
"""