]> git.phdru.name Git - m_librarian.git/commit
Refactoring: move module-level initialization into functions
authorOleg Broytman <phd@phdru.name>
Mon, 4 Apr 2016 19:52:08 +0000 (22:52 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 4 Apr 2016 19:52:08 +0000 (22:52 +0300)
commitaf6ee17b251b1ae074e1eca5d80c7a599ee88536
tree8ae6f3e95ca7dbac4c18f71c4c6583c0df1973e5
parentf914b910cf3f1bd2940a664a67ede3683ba9e1fb
Refactoring: move module-level initialization into functions

Do not open a database at import time. This is necessary for further
development, especially tests.
m_librarian/config.py
m_librarian/db.py
scripts/ml-import.py
scripts/ml-initdb.py
scripts/ml-search.py