Database(): Factor out the test for an initialized self._db
authorSebastian Spaeth <sebastian@sspaeth.de>
Fri, 19 Mar 2010 09:51:35 +0000 (10:51 +0100)
committerSebastian Spaeth <sebastian@sspaeth.de>
Fri, 19 Mar 2010 09:51:35 +0000 (10:51 +0100)
commitc6fa1ae8d5ee7cd27b4754d696d827655b27ff4a
tree6b2b6ec929dca5d9da230b8827c8c92267fd9053
parentb42fdb0f70c23d72b0c7e91c6e09f48192a8206c
Database(): Factor out the test for an initialized self._db

We need it in basically every function, so let's split this out.
cnotmuch/database.py