From: Vassilii K. <vas...@ta...> - 2013-11-21 07:04:00
|
I wanted to add to DateError some docs on what I did in http://sourceforge.net/p/gramps/source/ci/8e1659 , and discovered we have two identical copies of DateError. One is in gramps/gen/errors.py, and one is in gramps/gen/lib/date.py. Both date back to circa 2006, attributed to Don. On trunk, a search through the code shows that we import DateError from lib wherever we use it, but both are part of our public interface at the moment. I would like to nuke one of the two, and replace it with an import from the other location for compatibility. From dependency management standpoint, it sounds like the one in errors.py should stay, and the one in date.py should go (i.e., `from ...errors import DateError' in date.py is better than `from .lib.date import DateError' in errors.py) Any objections? V |