Commit c8e0e04f authored by Matias Guijarro's avatar Matias Guijarro

config/ lrem takes an extra parameter

'count' with 0 means all elements with value are removed from list
parent a2f85ff7
......@@ -353,7 +353,7 @@ class QueueSetting(object):
def remove(self, value, cnx=None):
if cnx is None:
cnx = self._cnx()
cnx.lrem(self._name, value)
cnx.lrem(self._name, 0, value)
def set(self, values, cnx=None):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment