Make PEP8 cleanup of line spaces and character distances as well as indents
This commit is contained in:
parent
7ff783fea1
commit
b278337172
189 changed files with 2039 additions and 1583 deletions
|
|
@ -261,7 +261,7 @@ class ObjectDBManager(TypedObjectManager):
|
|||
if exact:
|
||||
# exact match - do direct search
|
||||
return self.filter(cand_restriction & type_restriction & (Q(db_key__iexact=ostring) |
|
||||
Q(db_tags__db_key__iexact=ostring) & Q(db_tags__db_tagtype__iexact="alias"))).distinct()
|
||||
Q(db_tags__db_key__iexact=ostring) & Q(db_tags__db_tagtype__iexact="alias"))).distinct()
|
||||
elif candidates:
|
||||
# fuzzy with candidates
|
||||
search_candidates = self.filter(cand_restriction & type_restriction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue