Add a trampoline for hdel

This commit is contained in:
moneromooo 2015-01-13 23:19:05 +00:00
parent 8dbb075a4a
commit 14af9b3eb2
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,9 @@ def redis_hset(t,k,v):
def redis_hincrby(t,k,v):
return redisdb.hincrby(t,k,v)
def redis_hdel(t,k):
return redisdb.hdel(t,k)
def redis_incrby(k,v):
return redisdb.incrby(k,v)
@ -78,6 +81,7 @@ def CompatibilityCheck():
if not p.hgetall: raise RuntimeError('hgetall call not found')
if not p.hset: raise RuntimeError('hset call not found')
if not p.hincrby: raise RuntimeError('hincrby call not found')
if not p.hdel: raise RuntimeError('hdel call not found')
if not p.incrby: raise RuntimeError('incrby call not found')
if not p.sadd: raise RuntimeError('sadd call not found')
if not p.smembers: raise RuntimeError('smembers call not found')