Commit c8e0e04f authored by Matias Guijarro's avatar Matias Guijarro

config/settings.py: 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)
@write_decorator_multiple
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