Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

More comments

  • Loading branch information...
1 parent 50f5c05 commit 5fe373b332e26a9c9fa925d6ed9c67f4ec95bbcb @dcramer dcramer committed
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

0 comments on commit 5fe373b

Please sign in to comment.
Something went wrong with that request. Please try again.