From d8ebc71f98f348780156c46a53ebbb8fb5ab0121 Mon Sep 17 00:00:00 2001 From: Tom Jaspers Date: Thu, 5 Feb 2015 09:47:30 +0100 Subject: [PATCH] Auto path detection: use clearer variable name Per sampsyo's suggestion See #1302 --- beets/library.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/library.py b/beets/library.py index 43cac66e8..e807d386a 100644 --- a/beets/library.py +++ b/beets/library.py @@ -1060,8 +1060,8 @@ def parse_query_parts(parts, model_cls): # Add path queries to aggregate query. # Match field / flexattr depending on whether the model has the path field - fast_query = 'path' in model_cls._fields - query.subqueries += [PathQuery('path', s, fast_query) for s in path_parts] + fast_path_query = 'path' in model_cls._fields + query.subqueries += [PathQuery('path', s, fast_path_query) for s in path_parts] return query, sort