From a1b048f5de5ce7cad89aea524245dfc1876867ef Mon Sep 17 00:00:00 2001 From: Bruno Cauet Date: Mon, 16 Mar 2015 16:45:09 +0100 Subject: [PATCH] =?UTF-8?q?RegexpQuery:=20fix=20typo:=20false=20=E2=86=92?= =?UTF-8?q?=20fast?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beets/dbcore/query.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/dbcore/query.py b/beets/dbcore/query.py index cd891148e..24020e94c 100644 --- a/beets/dbcore/query.py +++ b/beets/dbcore/query.py @@ -177,8 +177,8 @@ class RegexpQuery(StringFieldQuery): Raises InvalidQueryError when the pattern is not a valid regular expression. """ - def __init__(self, field, pattern, false=True): - super(RegexpQuery, self).__init__(field, pattern, false) + def __init__(self, field, pattern, fast=True): + super(RegexpQuery, self).__init__(field, pattern, fast) try: self.pattern = re.compile(self.pattern) except re.error as exc: