X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=cnotmuch%2Fdatabase.py;h=dde7da16eecea67fec9e513d27c16588a1abccf8;hp=b759391af9909c219dc1ec1029081ce40b923536;hb=63c5a6d77d2b51104305e91676720099f4667e92;hpb=5186611851f6a38e397287cb94cd7ef502c1c902 diff --git a/cnotmuch/database.py b/cnotmuch/database.py index b759391a..dde7da16 100644 --- a/cnotmuch/database.py +++ b/cnotmuch/database.py @@ -314,7 +314,7 @@ class Database(object): # Raise a NotmuchError if not initialized self._verify_initialized_db() - return Query(self._db, querystring) + return Query(self, querystring) def __repr__(self): return "'Notmuch DB " + self.get_path() + "'"