Reformat with black

This commit is contained in:
Filip Kucharczyk 2019-12-05 01:33:35 +01:00
parent d3d7f0e670
commit 90fecc56dd

View File

@ -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):