Public » MiniRedis Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

fix handling old-style Redis add command

Changeset 9b7be6e61a1c

Parent 178c391a0fd3

by Profile picture of Benjamin PollackBenjamin Pollack

Changes to one file · Browse files at 9b7be6e61a1c Showing diff from parent 178c391a0fd3 Diff from another changeset...

Change 1 of 1 Show Entire File miniredis.py Stacked
 
178
179
180
181
 
182
183
184
 
178
179
180
 
181
182
183
184
@@ -178,7 +178,7 @@
  key, length = line.split()   data = client.rfile.read(int(length))   client.rfile.read(2) # throw out newline - return self.handle_set(key, client, data) + return self.handle_set(client, key, data)     def unwrap_get(self, client, line):   key = line.strip()