mirror of
https://github.com/beetbox/beets.git
synced 2026-02-16 12:24:53 +01:00
RegexpQuery: fix typo: false → fast
This commit is contained in:
parent
40e793cdb1
commit
a1b048f5de
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue