diff --git a/redis/cluster.py b/redis/cluster.py index b05cf307db..f5844fd62a 100644 --- a/redis/cluster.py +++ b/redis/cluster.py @@ -1755,10 +1755,6 @@ def __len__(self): """ """ return len(self.command_stack) - def __nonzero__(self): - "Pipeline instances should always evaluate to True on Python 2.7" - return True - def __bool__(self): "Pipeline instances should always evaluate to True on Python 3+" return True