undefined variable reported by pylint

This commit is contained in:
Adrian Sampson 2010-07-09 18:16:40 -07:00
parent 6e90009b07
commit f8c317a2cd
3 changed files with 1 additions and 1 deletions

View file

@ -517,7 +517,7 @@ class BaseLibrary(object):
return AndQuery.from_string(val, default_fields)
elif isinstance(val, Query):
return val
elif not isinstance(query, Query):
elif not isinstance(val, Query):
raise ValueError('query must be None or have type Query or str')

0
beetsplug/bpd/__init__.py Executable file → Normal file
View file

0
beetsplug/bpd/gstplayer.py Executable file → Normal file
View file