From 5f404a5240075b1d93a84415345d969c6e701af0 Mon Sep 17 00:00:00 2001 From: siddontang Date: Fri, 12 Sep 2014 14:25:31 +0800 Subject: [PATCH] remove select cmd because of conn pool --- client/ledis-py/ledis/client.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client/ledis-py/ledis/client.py b/client/ledis-py/ledis/client.py index 75d19c5..0247d86 100644 --- a/client/ledis-py/ledis/client.py +++ b/client/ledis-py/ledis/client.py @@ -238,14 +238,6 @@ class Ledis(object): "Ping the Ledis server" return self.execute_command('PING') - def select(self, db): - """Select a Ledis db, ``db`` is integer type""" - try: - db = int(db) - except ValueError: - db = 0 - return self.execute_command('SELECT', db) - def info(self, section=None): """ Return