Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweak a comment.

  • Loading branch information...
commit 349bc2e27d4d5fad9cc8785875fa314d1b2aff2d 1 parent ac5e092
@erikrose erikrose authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pyelasticsearch/
2  pyelasticsearch/
@@ -89,7 +89,7 @@ def decorate(*args, **kwargs):
# Make kwargs the map of normal kwargs and query_params the map of
# kwargs destined for query string params:
query_params = {}
- for k in list(iterkeys(kwargs)): # NOT iterkeys; we mutate kwargs
+ for k in list(iterkeys(kwargs)): # Make a copy; we mutate kwargs.
if k.startswith('es_'):
query_params[k[3:]] = kwargs.pop(k)
elif k in convertible_args:
Please sign in to comment.
Something went wrong with that request. Please try again.