Changeset d7273e41f3cb…
Parent ebffd254a0e8…
by Benjamin Pollack
Changes to one file · Browse files at d7273e41f3cb Showing diff from parent ebffd254a0e8 Diff from another changeset...
@@ -106,6 +106,9 @@ self.log(client, 'KEYS %s' % pattern)
return ' '.join(k for k in client.table.keys() if r.search(k))
+ def handle_incr(self, client, key):
+ return self.handle_incrby(client, key, 1)
+
def handle_incrby(self, client, key, by):
try:
client.table[key] = int(client.table[key])
|
Loading...