Skip to content
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.

Commit

Permalink
Fix typo in private method name
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Feb 16, 2018
1 parent 3d57be4 commit e21b585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fakenewsredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ def sort(self, name, start=None, num=None, by=None, get=None, desc=False,
self._db[store] = data
return len(data)
else:
return self._retrive_data_from_sort(data, get)
return self._retrieve_data_from_sort(data, get)
except KeyError:
return []

Expand Down Expand Up @@ -844,7 +844,7 @@ def _lua_redis_call(self, lua_runtime, expected_globals, op, *args):
func = special_cases[op] if op in special_cases else getattr(FakeStrictRedis, op)
return self._convert_redis_result(func(self, *args))

def _retrive_data_from_sort(self, data, get):
def _retrieve_data_from_sort(self, data, get):
if get is not None:
if isinstance(get, string_types):
get = [get]
Expand Down

0 comments on commit e21b585

Please sign in to comment.