Devs,

By looking if I can fix some errors, I found maybe a possible major issue.
https://gramps-project.org/bugs/view.php?id=7678#c36153

One method is set twice on gen/db/read.py!

If there is no difference between:

def _f(curs_):
        """
        Closure that returns an iterator over handles in the database.
        """
        def g(self):
            with curs_(self) as cursor:
                for key, data in cursor:
                    yield handle2internal(key)
        return g
and:

    def _f(curs_, obj_):
        """
        Closure that returns an iterator over objects in the database.
        """
        def g(self):
            with curs_(self) as cursor:
                for key, data in cursor:
                    obj = obj_()
                    obj.unserialize(data)
                    yield obj
        return g

then this could be minor, 
but this could be also the cause of some recent bugs under 4.0.x!

Which one is the good one?

Same question on webapp.libdjango: def pack_media_ref() is set twice with two different codes. 
https://gramps-project.org/bugs/view.php?id=7678#c36152


------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ Gramps-devel mailing list Gramps-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gramps-devel