fix blank lines added/removed
This commit is contained in:
parent
a4f81bcd3a
commit
615be654cb
@ -209,6 +209,7 @@ class CommandCursor(Generic[_DocumentType]):
|
||||
"""
|
||||
if len(self.__data) or self.__killed:
|
||||
return len(self.__data)
|
||||
|
||||
if self.__id: # Get More
|
||||
dbname, collname = self.__ns.split(".", 1)
|
||||
read_pref = self.__collection._read_preference_for(self.session)
|
||||
|
||||
@ -472,7 +472,6 @@ class _GetMore(object):
|
||||
def as_command(self, sock_info):
|
||||
"""Return a getMore command document for this query."""
|
||||
# See _Query.as_command for an explanation of this caching.
|
||||
|
||||
if self._as_command is not None:
|
||||
return self._as_command
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user