fix black formatting
This commit is contained in:
@@ -247,8 +247,8 @@ class query_counter(object):
|
||||
- self._ctx_query_counter
|
||||
)
|
||||
self._ctx_query_counter += (
|
||||
1
|
||||
) # Account for the query we just issued to gather the information
|
||||
1 # Account for the query we just issued to gather the information
|
||||
)
|
||||
return count
|
||||
|
||||
|
||||
|
||||
@@ -1193,9 +1193,7 @@ class BaseQuerySet(object):
|
||||
validate_read_preference("read_preference", read_preference)
|
||||
queryset = self.clone()
|
||||
queryset._read_preference = read_preference
|
||||
queryset._cursor_obj = (
|
||||
None
|
||||
) # we need to re-create the cursor object whenever we apply read_preference
|
||||
queryset._cursor_obj = None # we need to re-create the cursor object whenever we apply read_preference
|
||||
return queryset
|
||||
|
||||
def scalar(self, *fields):
|
||||
|
||||
Reference in New Issue
Block a user