Changeset 165a5007182f…
Parent 0a4221f55c4a…
by Benjamin Pollack
Changes to one file · Browse files at 165a5007182f Showing diff from parent 0a4221f55c4a Diff from another changeset...
@@ -195,6 +195,10 @@ client.rfile.read(2) # throw out newline
return self.handle_lpush(client, key, data)
+ def unwrap_lrange(self, client, line):
+ key, low, high = line.split()
+ return self.handle_lrange(client, key, low, high)
+
def unwrap_rpop(self, client, line):
key = line.strip()
return self.handle_rpop(client, key)
@@ -203,6 +207,10 @@ pattern = line.strip()
return self.handle_keys(client, pattern)
+ def unwrap_incr(self, client, line):
+ key = line.strip()
+ return self.handle_incr(client, key)
+
def unwrap_incrby(self, client, line):
key, by = line.split()
return self.handle_incrby(client, key, by)
@@ -217,6 +225,9 @@ def unwrap_quit(self, client, line):
return self.handle_quit(client)
+ def unwrap_save(self, client, line):
+ return self.handle_save(client)
+
def unwrap_shutdown(self, client, line):
return self.handle_shutdown(client)
|
Loading...