diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2017-07-31 12:47:01 -0400 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2017-07-31 12:47:01 -0400 |
commit | a3502de93b5d74b28a1a8952515b5775b14c653f (patch) | |
tree | 8400b574f5e4989010082555c580353d81833aae | |
parent | 037771123901539089a1f8f72940622539b8f9c1 (diff) | |
parent | 2556d78784c390da459e3e7c8230af17b3ec0633 (diff) | |
download | redis-py-a3502de93b5d74b28a1a8952515b5775b14c653f.tar.gz |
Merge branch 'master' of github.com:andymccurdy/redis-py
-rwxr-xr-x | redis/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index 9139906..4bab5fb 100755 --- a/redis/client.py +++ b/redis/client.py @@ -2114,7 +2114,7 @@ class StrictRedis(object): the triad longitude, latitude and name. """ if len(values) % 3 != 0: - raise RedisError("GEOADD requires places with lat, lon and name" + raise RedisError("GEOADD requires places with lon, lat and name" " values") return self.execute_command('GEOADD', name, *values) @@ -2143,7 +2143,7 @@ class StrictRedis(object): """ Return the positions of each item of ``values`` as members of the specified key identified by the ``name``argument. Each position - is represented by the pairs lat and lon. + is represented by the pairs lon and lat. """ return self.execute_command('GEOPOS', name, *values) |