Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More comments

  • Loading branch information...
commit 5fe373b332e26a9c9fa925d6ed9c67f4ec95bbcb 1 parent 50f5c05
David Cramer dcramer authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  nydus/db/backends/
3  nydus/db/backends/
@@ -131,9 +131,12 @@ def can_group_commands(command, next_command):
if name != next_command.get_name():
return False
+ # if the shared args (key, or key/value) do not match, we cannot group
if grouped_args_for_command(command) != grouped_args_for_command(next_command):
return False
+ # If the keyword arguments do not much (e.g. key_prefix, or timeout on set)
+ # then we cannot group
if command.get_kwargs() != next_command.get_kwargs():
return False
Please sign in to comment.
Something went wrong with that request. Please try again.